jessey
jessey

Reputation: 495

What is the actual role of ZooKeeper in Kafka 2.1?

I have seen some similar questions as follows:

www.quora.com/What-is-the-actual-role-of-Zookeeper-in-Kafka-What-benefits-will-I-miss-out-on-if-I-don%E2%80%99t-use-Zookeeper-and-Kafka-together

Is Zookeeper a must for Kafka?

But I want to know the latest information about this question.

What is the actual role of ZooKeeper in Kafka 2.1?

Upvotes: 2

Views: 1731

Answers (1)

Mickael Maison
Mickael Maison

Reputation: 26885

Zookeeper is required to run a Kafka Cluster.

It is used by Kafka brokers to perform elections (controller and topic leaders), to store topic metadata and various other things (ACLs, dynamic broker configs, quotas, Producer Ids)

Since Kafka 0.9, clients don't require access to Zookeeper, only brokers rely on it.

Upvotes: 5

Related Questions