Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-8874

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

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0
    • Component/s: consumer, metrics
    • Labels:
      None

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lu.kevin Kevin Lu
                Reporter:
                lu.kevin Kevin Lu
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: