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

Per topic consumer metrics missing in new consumer's metrics reporter

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0.0
    • Component/s: None
    • Labels:
      None

      Description

      In version of 0.8.2.1, the old consumer will provide the metrics reporter per-topic consumer metrics under group 'ConsumerTopicMetrics'. For example:

      *.ConsumerTopicMetrics.clientId.[topic name].BytesPerSec.count
      *.ConsumerTopicMetrics.clientId.[topic name].MessagesPerSec.count

      These consumer metrics are useful since it provides consumer rate for each topic. But the new consumer(0.9.0.0) doesn't expose per topic metrics anymore, even though I did find sensor objects in consumer metrics object collecting per-topic metrics.

      After investigation, I found that these sensors don't register any KafkaMetrics.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              yying1 Yifan Ying
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: