Chia-Ping Tsai created KAFKA-17222:
--------------------------------------

             Summary: Remove the subclass of KafkaMetricsGroup
                 Key: KAFKA-17222
                 URL: https://issues.apache.org/jira/browse/KAFKA-17222
             Project: Kafka
          Issue Type: Improvement
            Reporter: Chia-Ping Tsai
            Assignee: bboyleonp


There are subclass of KafkaMetricsGroup which have override `metricName` 
[0][1][2]. They are used to keep metrics compatibility. Now, KafkaMetricsGroup 
has the new constructor which can define the package and class name, and so we 
don't need to override the `metricName` anymore.


[0] 
https://github.com/apache/kafka/blob/9e06767ffa80b26791c3bff6bc9b10b6612ce7d2/core/src/main/scala/kafka/log/UnifiedLog.scala#L116
[1] 
https://github.com/apache/kafka/blob/9e06767ffa80b26791c3bff6bc9b10b6612ce7d2/storage/src/main/java/org/apache/kafka/storage/internals/log/LogSegment.java#L77
[2] 
https://github.com/apache/kafka/blob/trunk/core/src/main/scala/kafka/server/KafkaBroker.scala#L109



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

Reply via email to