conduktor.io ↗

KIP-517 — Add consumer metrics to observe user poll behavior

Accepted Kafka 2.4 ConsumerMetrics

Adds consumer metrics including `poll-idle-ratio`, `time-between-poll-avg`, `time-between-poll-max`, and `last-poll-seconds-ago` to expose how frequently and how promptly the application calls `Consumer.poll()`. Without these metrics, there is no observable signal to distinguish whether a `max.poll.interval.ms` violation is caused by slow record processing or by the application neglecting to call `poll()` frequently enough.

Details

AuthorKevin Lu
StatusAccepted
Kafka Version2.4
JIRAKAFKA-8874
WikiView on Apache Wiki
Created2019-09-04
Last Modified2019-10-17
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.