under-replicated partition
A partition with fewer in-sync replicas than its replication factor.
In more detail
A broker that is down or falling behind leaves its partitions under-replicated. The UnderReplicatedPartitions metric should be zero on a healthy cluster, and kafka-topics --describe --under-replicated-partitions lists them.
Example
kafka-topics --bootstrap-server localhost:9092 --describe --under-replicated-partitionsRelated terms
- in-sync replica set — The replicas of a partition that are currently caught up with the leader, abbreviated ISR.
- replication factor — The number of copies Kafka keeps of each partition, including the leader.
- min.insync.replicas — The topic or broker setting for the smallest number of in-sync replicas that must confirm an acks=all write for it to succeed.
Taught in
- Forty One Under-Replicated Partitions — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Two Controllers At Once — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- The Night Before The Administrator Exam — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep