Chia-Ping Tsai created KAFKA-19518:
--------------------------------------

             Summary: 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: Chia-Ping Tsai


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)

Reply via email to