gdd sop created KAFKA-14045:
-------------------------------
Summary: Heartbeat threads cause high CPU usage after broker shut
down
Key: KAFKA-14045
URL: https://issues.apache.org/jira/browse/KAFKA-14045
Project: Kafka
Issue Type: Bug
Reporter: gdd sop
1. shut down all brokers
2. execute top command and found out the kafka coordinator CPU usage is high
Here is the flame graph collectd by arthas.

The issues will recover after restart the brokers.
**Maybe it should wait before the pollNoWakeup methods**
https://github.com/apache/kafka/blob/2.8/clients/src/main/java/org/apache/kafka/clients/consumer/internals/AbstractCoordinator.java#L1372
--
This message was sent by Atlassian Jira
(v8.20.10#820010)