[ https://issues.apache.org/jira/browse/KAFKA-19518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yu Chia Ma reassigned KAFKA-19518: ---------------------------------- Assignee: Yu Chia Ma (was: Chia-Ping Tsai) > 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 > > 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)