You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2024/09/30 03:40:00 UTC
[jira] [Assigned] (KAFKA-17657) Replace the "consumer-fetch-manager-metrics" by groupName
[ https://issues.apache.org/jira/browse/KAFKA-17657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chia-Ping Tsai reassigned KAFKA-17657:
--------------------------------------
Assignee: kangning.li (was: Chia-Ping Tsai)
> 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: kangning.li
> Priority: Trivial
>
> 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)