bboyleonp666 commented on code in PR #16752:
URL: https://github.com/apache/kafka/pull/16752#discussion_r1699228444


##########
core/src/main/scala/kafka/server/KafkaBroker.scala:
##########
@@ -103,13 +100,7 @@ trait KafkaBroker extends Logging {
   def clientToControllerChannelManager: NodeToControllerChannelManager
   def tokenCache: DelegationTokenCache
 
-  private val metricsGroup = new KafkaMetricsGroup(this.getClass) {
-    // For backwards compatibility, we need to keep older metrics tied
-    // to their original name when this class was named `KafkaServer`
-    override def metricName(name: String, tags: util.Map[String, String]): 
MetricName = {
-      KafkaMetricsGroup.explicitMetricName(Server.MetricsPrefix, 
KafkaBroker.MetricsTypeName, name, tags)
-    }
-  }
+  private val metricsGroup = new KafkaMetricsGroup(this.getClass)

Review Comment:
   Fixed.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to