1.

Explain The Concept Of Leader And Follower?

Answer»

Every partition in KAFKA has one SERVER which plays the role of a Leader, and none or more servers that act as Followers. The Leader PERFORMS the task of all read and write requests for the partition, while the role of the Followers is to PASSIVELY replicate the leader. In the event of the Leader failing, one of the Followers will take on the role of the Leader. This ENSURES load balancing of the server.

Every partition in Kafka has one server which plays the role of a Leader, and none or more servers that act as Followers. The Leader performs the task of all read and write requests for the partition, while the role of the Followers is to passively replicate the leader. In the event of the Leader failing, one of the Followers will take on the role of the Leader. This ensures load balancing of the server.



Discussion

No Comment Found