hey-johnnypark/docker-kafka-zookeeper

In this docker image, new topics are not created automatically.

glazkovalex opened this issue · 4 comments

In this docker image, new topics are not created automatically. How do I set auto.create.topics.enable=true in this docker image so that new topics are created automatically?

If I set the environment variable "AUTO_CREATE_TOPICS=true", then the string "\nauto.create.topics.enable=true" appears in $KAFKA_HOME/config/server.properties. Maybe if you remove the "\n" at the beginning, this option will work?

Hi @glazkovalex This repository is not maintained.
You can use this one: https://github.com/obalunenko/docker-kafka-zookeeper .
It already has pre-build images for all Kafka with zookeeper versions published on the official site https://kafka.apache.org/downloads

Thank you, @Belonenko!
I switched to the container: confluentinc/cp-kafka .