partition leader
The replica of a partition that handles all reads and writes for it; the other replicas copy from it.
In more detail
Each partition has exactly one leader at a time, and different partitions usually have leaders on different brokers. If the leader's broker fails, one of the in-sync followers is elected as the new leader.
Related terms
- follower — A replica that copies a partition's records from its leader and can take over if the leader fails.
- leader election — The process by which the members of a distributed system choose one of themselves to act as leader.
- leader epoch — A counter per partition that goes up by one every time a new leader is elected.
- partition replica — One copy of a partition stored on one broker.
Taught in
- The Queue That Forgot — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Where A Record Lands — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Acknowledged Is Not Always Safe — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- The Error Storm That Fixes Itself — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Two Copies Of One Service — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Twenty Seconds Of Nothing — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Two Brokers Down — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- The New Broker That Did Nothing — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Forty One Under-Replicated Partitions — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Forty Minutes To Start — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Full Disks On Black Friday — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Two Controllers At Once — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Seventy One Percent — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- The Night Before The Administrator Exam — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Starting A Broker And Reading Its Metadata — Apache Kafka & Event Streaming
- Acknowledgements: What Acks Means For Durability — Apache Kafka & Event Streaming
- Three Brokers: Replication And Leaders — Apache Kafka & Event Streaming
- Losing A Broker — Apache Kafka & Event Streaming