laitimes

Zookeeper's role in kafka clusters Kafka saves metadata information in Zookeeper, but sends it to The Topic itself

author:Software architecture

Zookeeper plays a role in the Kafka cluster

Kafka saves metadata information in Zookeeper, but data sent to The Topic itself is not sent to Zookeeper.

Zookeeper manages several brokers in the Kafka cluster and keeps a complete list of brokers.

Maintain topic information such as Partitions, Replication Factor, ISR (In-sync Replica), etc.

Zookeeper helped elect Leader of Partition.

When there are any changes, Zookeeper sends notifications to Kafka, such as adding a new topic, hanging up the broker, deleting the topic, and so on.

There are also concepts of Leader and Flourper in Zookeeper clusters. The Leader is responsible for writing the data and the Follower is responsible for reading the data.

Store the Kafka cluster ID.

Stores access control lists (ACLs). Control access to Topic, Consumer Group, User, and more.

Zookeeper's role in kafka clusters Kafka saves metadata information in Zookeeper, but sends it to The Topic itself
Zookeeper's role in kafka clusters Kafka saves metadata information in Zookeeper, but sends it to The Topic itself
Zookeeper's role in kafka clusters Kafka saves metadata information in Zookeeper, but sends it to The Topic itself

Read on