[ https://issues.apache.org/jira/browse/KAFKA-14866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
hudeqi updated KAFKA-14866: --------------------------- Description: # 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. > When the controller changes, the old controller needs to clean up some > related resources when resigning > ------------------------------------------------------------------------------------------------------- > > 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)