You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Ismael Juma (JIRA)" <ji...@apache.org> on 2017/09/29 14:22:05 UTC

[jira] [Resolved] (KAFKA-5968) Remove all broker metrics during shutdown

     [ https://issues.apache.org/jira/browse/KAFKA-5968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ismael Juma resolved KAFKA-5968.
--------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 1.1.0)
                   1.0.0

> 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.0.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)