[ https://issues.apache.org/jira/browse/KAFKA-5968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16185881#comment-16185881 ]
ASF GitHub Bot commented on KAFKA-5968: --------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/kafka/pull/3991 > Remove all broker metrics during shutdown > ----------------------------------------- > > Key: KAFKA-5968 > URL: https://issues.apache.org/jira/browse/KAFKA-5968 > Project: Kafka > Issue Type: Bug > Components: core > Reporter: Rajini Sivaram > Assignee: Rajini Sivaram > Fix For: 1.1.0 > > Attachments: 5968.v1.txt > > > RequestMetrics on the broker is currently a static variable, created when the > broker starts up, but the metrics are never removed. This makes it hard to > test broker metrics since there could be metrics left over from previous > tests. We should ensure that all metrics are cleared even for brokers. -- This message was sent by Atlassian JIRA (v6.4.14#64029)