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

TotalFetchRequestsPerSec not equal to sum of Fetch and FetchFollower Request Rate

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.1.1, 2.7.0
    • None
    • metrics, network
    • None

    Description

      TotalFetchRequestsPerSec: kafka.server:type=BrokerTopicMetrics, name=TotalFetchRequestsPerSec

      Fetch: kafka.network:type=RequestMetrics, name=RequestsPerSec, request=Fetch
      FetchFollower: kafka.network:type=RequestMetrics, name=RequestsPerSec, request=FetchFollower

      I found a big difference between TotalFetchRequestsPerSec and sum of Fetch and FetchFollower Request Rate. 
      I don't know why topic-[2-10] has no Byte in/Out, but metric tell that TotalFetchRequestsPerSec of topic-[2-10] >0.

       

      TotalFetchRequestsPerSec for all topic:

       

      broker fetch and fetchFollower rate:

       

       

      This is easy to reproduce, TotalFetchRequestsPerSec always more than sum of Fetch and FetchFollower rate.  

       

      Attachments

        1. image-2021-01-13-19-00-22-997.png
          128 kB
          zhifeng.peng
        2. image-2021-01-13-18-59-52-273.png
          188 kB
          zhifeng.peng

        Activity

          People

            Unassigned Unassigned
            zhifeng.peng zhifeng.peng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: