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

Mickael Maison updated KAFKA-14868:
-----------------------------------
    Fix Version/s: 3.6.0
                       (was: 3.5.0)

> Remove some forgotten metrics when the replicaManager is closed
> ---------------------------------------------------------------
>
>                 Key: KAFKA-14868
>                 URL: https://issues.apache.org/jira/browse/KAFKA-14868
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: hudeqi
>            Assignee: hudeqi
>            Priority: Major
>             Fix For: 3.6.0
>
>
> In some current classes, some metrics are always registered when loading, but 
> it often occurs that some or all metrics are forgotten to be removed when 
> closing. For example, in the ReplicaManager class, IsrExpandsPerSec, 
> IsrShrinksPerSec, and FailedIsrUpdatesPerSec are all removed by omission.
> The problem of not closing the metric in the replicaManager has been solved 
> in the patch. As for how to improve the KafkaMetricsGroup to make the 
> inspection of such issues more general, there is no conclusive solution.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to