1.

Explain the concept of Leader and Follower in Kafka.

Answer»

In Kafka, each partition has one server that acts as a Leader and one or more servers that operate as Followers. The Leader is in charge of all read and WRITES requests for the partition, while the Followers are responsible for passively replicating the leader. In the case that the Leader FAILS, one of the Followers will assume leadership. The server's LOAD is BALANCED as a RESULT of this.



Discussion

No Comment Found