KIP-460 — Admin Leader Election RPC
Accepted Kafka 2.4 AdminBroker
Extends the AdminClient leader election API to support four election types — preferred, unclean, reassignment, and any — not just preferred replica elections. Previously only preferred replica election was accessible via the AdminClient; triggering an unclean election to restore availability when ISR is empty required direct ZooKeeper manipulation.
Protocol Impact
ElectLeaders v1
Details
| Author | Jose Armando Garcia Sancio |
| Status | Accepted |
| Kafka Version | 2.4 |
| JIRA | KAFKA-8286 |
| Wiki | View on Apache Wiki |
| Created | 2019-04-24 |
| Last Modified | 2019-06-04 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.