[ https://issues.apache.org/jira/browse/KAFKA-8874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kevin Lu updated KAFKA-8874: ---------------------------- Description: [https://cwiki.apache.org/confluence/display/KAFKA/KIP-517%3A+Add+consumer+metrics+to+observe+user+poll+behavior] It would be beneficial to add a metric to record the average/max time between calls to poll as it can be used by both Kafka application owners and operators to: * Easily identify if/when max.poll.interval.ms needs to be changed (and to what value) * View trends/patterns * Verify max.poll.interval.ms was hit using the max metric when debugging consumption issues (if logs are not available) * Configure alerts to notify when average/max time is too close to max.poll.interval.ms was: [https://cwiki.apache.org/confluence/display/KAFKA/KIP-517%3A+Add+consumer+metric+indicating+time+between+poll+calls] It would be beneficial to add a metric to record the average/max time between calls to poll as it can be used by both Kafka application owners and operators to: * Easily identify if/when max.poll.interval.ms needs to be changed (and to what value) * View trends/patterns * Verify max.poll.interval.ms was hit using the max metric when debugging consumption issues (if logs are not available) * Configure alerts to notify when average/max time is too close to max.poll.interval.ms > KIP-517: Add consumer metrics to observe user poll behavior > ----------------------------------------------------------- > > Key: KAFKA-8874 > URL: https://issues.apache.org/jira/browse/KAFKA-8874 > Project: Kafka > Issue Type: New Feature > Components: consumer, metrics > Reporter: Kevin Lu > Assignee: Kevin Lu > Priority: Minor > Fix For: 2.4.0 > > > [https://cwiki.apache.org/confluence/display/KAFKA/KIP-517%3A+Add+consumer+metrics+to+observe+user+poll+behavior] > It would be beneficial to add a metric to record the average/max time between > calls to poll as it can be used by both Kafka application owners and > operators to: > * Easily identify if/when max.poll.interval.ms needs to be changed (and to > what value) > * View trends/patterns > * Verify max.poll.interval.ms was hit using the max metric when debugging > consumption issues (if logs are not available) > * Configure alerts to notify when average/max time is too close to > max.poll.interval.ms -- This message was sent by Atlassian Jira (v8.3.4#803005)