You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "hudeqi (Jira)" <ji...@apache.org> on 2023/03/29 08:17:00 UTC

[jira] [Updated] (KAFKA-14866) When broker shutdown, the controller module needs to remove its metrics

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

hudeqi updated KAFKA-14866:
---------------------------
    Summary: When broker shutdown, the controller module needs to remove its metrics  (was: When the controller changes, the old controller needs to clean up some related resources when resigning)

> When broker shutdown, the controller module needs to remove its metrics
> -----------------------------------------------------------------------
>
>                 Key: KAFKA-14866
>                 URL: https://issues.apache.org/jira/browse/KAFKA-14866
>             Project: Kafka
>          Issue Type: Improvement
>          Components: controller, core
>    Affects Versions: 3.3.2
>            Reporter: hudeqi
>            Assignee: hudeqi
>            Priority: Major
>
> # In the current situation, each running broker node will have a thread running in the ControllerEventManager instance, and also collect related metrics. After the controller is changed, the old node should close the idle thread in ControllerEventManager and and metric collection when resigning.
>  # ControllerStats also needs to clean up the metric when the controller is resigned due to a change.



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