vergilchiu opened a new pull request #9587: URL: https://github.com/apache/kafka/pull/9587
JmxReporter should remove the KafkaMbean from "mbeans" when it becomes empty metrics during metricRemoval,not only unregister the metrics. "mbeans" will grow bigger and bigger if not removing the KafkaMbean,finally jvm memory runs out. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org