conduktor.io ↗

KIP-1001 — Add CurrentControllerId Metric

Accepted Kafka 3.7 KRaftMetrics

Adds a `CurrentControllerId` metric exposed on every broker and controller node that reports the node ID of the active KRaft (or ZooKeeper) controller, or -1 if unknown. Identifying the current active controller requires either checking each node's `ActiveControllerCount` metric individually or parsing metadata logs; there is no single metric queryable from any node that identifies which node is the controller.

Details

AuthorColin McCabe
StatusAccepted
Kafka Version3.7
JIRAKAFKA-15980
WikiView on Apache Wiki
Created2023-11-09
Last Modified2023-12-06
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.