Apache Kafka ZooKeeper Short Note (#10242)

* Update README.md

* Update README.md
This commit is contained in:
Bhanu 2024-02-02 18:46:32 +05:30 committed by GitHub
parent 7e62fcd881
commit 66d5ba71d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -44,3 +44,23 @@ An application that publishes data to the Kafka cluster.
- Broker: a server with kafka process running on it. Such server has local storage. In a single Kafka clusters there are usually multiple brokers.
</b></details>
<details>
<summary>What is the role of ZooKeeper is Kafka?</summary><br/><b>
In Kafka, Zookeeper is a centralized controller that manages metadata for producers, brokers, and consumers.
Zookeeper also:
<ul>
<li>Tracks which brokers are part of the Kafka cluster</li>
<li>
Determines which broker is the leader of a given partition and topic
</li>
<li>
Performs leader elections
</li>
<li>
Manages cluster membership of brokers
</li>
</ul>
</b>
</details>