[
https://issues.apache.org/jira/browse/KAFKA-19518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chia-Ping Tsai resolved KAFKA-19518.
------------------------------------
Fix Version/s: 4.2.0
Resolution: Fixed
> Remove the usage of KafkaMetricsGroup(Class<?> klass)
> -----------------------------------------------------
>
> Key: KAFKA-19518
> URL: https://issues.apache.org/jira/browse/KAFKA-19518
> Project: Kafka
> Issue Type: Improvement
> Reporter: Chia-Ping Tsai
> Assignee: Yu Chia Ma
> Priority: Minor
> Fix For: 4.2.0
>
>
> the constructor is error-prone when migrating code, since metrics could get
> unintentionally changed. We should remove the constructor and use constant
> strings instead to avoid issues like KAFKA-17876, KAFKA-19150, and others
--
This message was sent by Atlassian Jira
(v8.20.10#820010)