Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Kafka docker image that works without zookeepr

Tags:

apache-kafka

I read that Kafka no longer requires zookeeper, so I don't want to have zookeeper in docker-compose. But I don't know which kafka image can work w/o zookeeper. can anyone give a hint?

like image 664
HungUnicorn Avatar asked Jan 12 '21 10:01

HungUnicorn


People also ask

Is it possible to use Kafka without zookeeper?

However, you can install and run Kafka without Zookeeper. In this case, instead of storing all the metadata inside Zookeeper, all the Kafka configuration data will be stored as a separate partition within Kafka itself.

Which version of Kafka does not need zookeeper?

Apache Kafka 2.8. 0 is finally out and you can now have early-access to KIP-500 that removes the Apache Zookeeper dependency. Instead, Kafka now relies on an internal Raft quorum that can be activated through Kafka Raft metadata mode.

Is there a Kafka Docker image?

The recommended way to get the Bitnami Apache Kafka Docker Image is to pull the prebuilt image from the Docker Hub Registry. To use a specific version, you can pull a versioned tag. You can view the list of available versions in the Docker Hub Registry.

Does Kafka 3.2 need zookeeper?

This means you can now run a secure Kafka cluster without Zookeeper!


1 Answers

Here's a Kafka Docker image which doesn't required Zookeeper (as described above):

https://hub.docker.com/r/bashj79/kafka-kraft

Disclaimer: I'm the author.

like image 157
Bash Avatar answered Sep 20 '22 14:09

Bash