conduktor.io ↗

KIP-761 — Add Total Blocked Time Metric to Streams

Accepted Kafka 3.1 StreamsMetrics

Introduces a new `blocked-time-total` metric in Kafka Streams that accumulates the total wall-clock time a stream thread spends blocked waiting on Kafka (poll, commit, flush) rather than processing records. Existing metrics like `poll-ratio` and `processing-ratio` are instantaneous ratios from a single poll loop iteration and are too coarse-grained to identify systemic blocking bottlenecks.

Details

AuthorRohan Desai
StatusAccepted
Kafka Version3.1
JIRAKAFKA-13229
WikiView on Apache Wiki
Created2021-07-07
Last Modified2021-09-24
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.