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

Fix MessagesInPerSec mbean to count uncompressed message rate

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.8.0
    • 0.8.0
    • core

    Description

      Today, BrokerTopicMetrics.MessagesInPerSec does shallow iteration and hence counts the number of compressed messages in every request. This does not make sense, we should count the number of uncompressed messages stored on the leader. Also, this metric makes sense only on the leader.

      Attachments

        1. kafka-801.patch
          1 kB
          Jun Rao

        Activity

          People

            junrao Jun Rao
            nehanarkhede Neha Narkhede
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: