0
What do you mean by leader and follower in Kafka?

Open 1 Answers 30 Views Technology

What do you mean by leader and follower in Kafka?

1 Answer

0

Candidates should prepare for such the latest Kafka interview questions that dig deeper into the architecture of Kafka. Each partition in Kafka is associated with one server that plays the role of Leader, and the other servers play the role of Followers.

A leader is responsible for performing all the read and write requests for the concerned partition. On the other hand, followers have to replicate the leader passively. If the Leader fails, then one of the Followers could assume the role of a Leader to ensure load balancing.

by (274k points)
...