Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
After profiling the kafka tests, tons of `client-metrics-reaper` thread not cleanup after BrokerServer shutdown.
The thread client-metrics-reaper comes from ClientMetricsManager#expirationTimer, and BrokerServer#shudown doesn't close ClientMetricsManager which let the timer thread still runs in background.
Attachments
Issue Links
- relates to
-
KAFKA-16776 Builds flaky-failing with leaked client-metrics-reaper thread
- Open
- links to