Chia-Ping Tsai created KAFKA-17657:
--------------------------------------

             Summary: Replace the "consumer-fetch-manager-metrics" by groupName
                 Key: KAFKA-17657
                 URL: https://issues.apache.org/jira/browse/KAFKA-17657
             Project: Kafka
          Issue Type: Improvement
            Reporter: Chia-Ping Tsai
            Assignee: Chia-Ping Tsai


https://github.com/apache/kafka/blob/6ee46ea86530e019798ba0d4183164d7925dde63/clients/src/main/java/org/apache/kafka/clients/consumer/internals/FetchMetricsRegistry.java#L144

The `groupName` is derived from the input, so using the constant 
"consumer-fetch-manager-metrics" for the group is not appropriate. While it 
hasn't caused issues so far because the input has always been "consumer," 
addressing this now can help prevent potential bugs in the future.



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

Reply via email to