docker-kafka-zookeeper
docker-kafka-zookeeper copied to clipboard
In this docker image, new topics are not created automatically.
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, yes I am happy for a pull request , thanks for spotting.
Sent from my iPhone
On 23 Apr 2021, at 20:15, glazkovalex @.***> wrote:
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?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
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 .