You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Afshin Moazami (Jira)" <ji...@apache.org> on 2023/12/21 16:32:00 UTC

[jira] [Created] (KAFKA-16042) Quota Metrics based on per topic-partition produce/fetch byte rate

Afshin Moazami created KAFKA-16042:
--------------------------------------

             Summary: Quota Metrics based on per topic-partition produce/fetch byte rate
                 Key: KAFKA-16042
                 URL: https://issues.apache.org/jira/browse/KAFKA-16042
             Project: Kafka
          Issue Type: New Feature
          Components: core
            Reporter: Afshin Moazami
            Assignee: Afshin Moazami


Currently, Kafka emits the producer-byte-rate and fetch-bytes-rate for quota calculations. By adding a new signature to the `[quotaMetricTags|https://github.com/afshing/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/server/quota/ClientQuotaCallback.java#L40]` method to add the individual topic-partitions size as a parameter, we can define metrics based on the topic name and partition id. 

To do that, we need both `ProduceRequest` and `FetchResponse` have the `partitionSizes` method and it is public. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)