KIP-727 — Add --under-preferred-replica-partitions option to describe topics comman
Discussion AdminBroker
KIP-727 adds a `--non-preferred-leader` (human-readable) and `--non-preferred-leader-json` (JSON) option to `kafka-topics.sh --describe` to list partitions whose current leader is not the preferred (first) replica. Without this filter, identifying unbalanced partition leadership that causes broker egress skew requires parsing the full topic description output or inspecting controller logs.
Details
| Author | Wenbing Shen |
| Status | Discussion |
| JIRA | KAFKA-12556 |
| Wiki | View on Apache Wiki |
| Created | 2021-03-26 |
| Last Modified | 2021-04-10 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.