Skip to main content

Leader

The broker responsible for serving all reads and writes for a specific partition.

Every partition has exactly one broker acting as leader at any given time. Producers and consumers interact with the partition through the leader; the other brokers holding a replica of that partition act as followers, replicating the leader's data. If the leader fails, an up-to-date follower is elected as the new leader.