conduktor.io ↗

KIP-1190 — Add a metric for controller thread idleness

Accepted Kafka 4.2 KRaftMetrics

Adds an AvgIdleRatio metric to the ControllerEventManager showing the fraction of time the controller event loop thread is idle (0=always busy, 1=always idle). No metric existed for controller thread idleness, making it impossible to detect saturation, anticipate bottlenecks, or distinguish whether slow operations were caused by overloaded processing or simply rare events.

Details

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