Not able to create kafka topic using docker-compose Not able to create kafka topic using docker-compose docker docker

Not able to create kafka topic using docker-compose


KAFKA_CREATE_TOPICS is not a supported Environment variable for the cp-kafka image that you're using.

Since you already have KAFKA_AUTO_CREATE_TOPICS_ENABLE: "true" then you can just start using the broker and topics will be created as and when they're first referenced by the producer or consumer.