conduktor.io ↗

KIP-1229 — Add Idle Thread Ratio Metric to MetadataLoader

Accepted Kafka 4.2 KRaftMetrics

Adds an AvgIdleRatio metric to the MetadataLoader event queue thread, mirroring the existing metric on QuorumController's ControllerEventManager. The MetadataLoader, which distributes metadata changes from the Raft layer to publishers like the BrokerMetadataListener, lacked any idle-ratio visibility, making it impossible to detect metadata propagation bottlenecks in KRaft clusters.

Details

AuthorMahsa Seifikar
StatusAccepted
Kafka Version4.2
JIRAKAFKA-19791
WikiView on Apache Wiki
Created2025-10-15
Last Modified2025-10-27
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.