confluentinc / kafka-images

Confluent Docker images for Apache Kafka
Apache License 2.0
17 stars 134 forks source link

KIP-500 support running a cluster without zookeeper #104

Open DagW opened 2 years ago

DagW commented 2 years ago

As Kafka 2.8.0 now supports running a cluster without zookeeper, the parameter KAFKA_ZOOKEEPER_CONNECT should not be required if the parameters KAFKA_CONTROLLER_QUORUM_VOTERS or KAFKA_PROCESS_ROLES are set.

schrieveslaach commented 2 years ago

@DagW, do you have a workaround for this? In fact, is it possible to run the Kafka container without Zookeeper and use an invalid hostname in KAFKA_ZOOKEEPER_CONNECT?

MichaelCkr commented 2 years ago

As a workaround, one may use this setup, published by confluent. Watch out for the there used script _updaterun.sh (located besides the docker-compose.yaml and used in command within the docker-compose-file).