You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "David Mao (Jira)" <ji...@apache.org> on 2021/10/06 15:31:00 UTC

[jira] [Created] (KAFKA-13354) Topic metrics count request rate inconsistently with other request metrics

David Mao created KAFKA-13354:
---------------------------------

             Summary: Topic metrics count request rate inconsistently with other request metrics
                 Key: KAFKA-13354
                 URL: https://issues.apache.org/jira/browse/KAFKA-13354
             Project: Kafka
          Issue Type: Bug
          Components: core, metrics
            Reporter: David Mao


The request rate metrics in BrokerTopicMetrics are incremented per partition in a Produce request. If a produce requests has multiple partitions for the same topic in the request, then the request will get counted multiple times.

This is inconsistent with how we count request rate metrics elsewhere.

The same applies to the TotalFetchRequest rate



--
This message was sent by Atlassian Jira
(v8.3.4#803005)