From the course: Apache Kafka Essential Training: Getting Started (2021)

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Role of ZooKeeper

Role of ZooKeeper

From the course: Apache Kafka Essential Training: Getting Started (2021)

Start my 1-month free trial

Role of ZooKeeper

- [Instructor] Every Kafka instance or cluster needs an instance of ZooKeeper deployed along with it. Let's discuss the purpose of ZooKeeper for Kafka in this video. When we deploy Kafka, it needs an instance of ZooKeeper provision with it. ZooKeeper is a centralized service that is used for storing configuration information as well as helping with distributed synchronization. ZooKeeper serves as the central information store for Kafka. There are ongoing efforts to make Kafka independent of ZooKeeper in the future versions. ZooKeeper helps Kafka in broker management. When each Kafka broker starts up, they register themselves with ZooKeeper. They also discover about other Kafka brokers from the same ZooKeeper. One of the Kafka brokers, typically the first broker that starts up, registers itself as the active controller. It then controls and manages other brokers in the cluster. If the active controller fails, one of the…

Contents