mimaison commented on code in PR #12046: URL: https://github.com/apache/kafka/pull/12046#discussion_r943688586
########## server-common/src/main/java/org/apache/kafka/server/metrics/KafkaYammerMetrics.java: ########## @@ -53,16 +72,21 @@ public static MetricsRegistry defaultRegistry() { } private final MetricsRegistry metricsRegistry = new MetricsRegistry(); - private final FilteringJmxReporter jmxReporter = new FilteringJmxReporter(metricsRegistry, - metricName -> true); + private FilteringJmxReporter jmxReporter; private KafkaYammerMetrics() { - jmxReporter.start(); Review Comment: Agreed, I've reverted the changes in this file. -- 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