Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-16477

Detect thread leaked client-metrics-reaper in tests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.8.0
    • 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

          Activity

            People

              brandboat Kuan Po Tseng
              brandboat Kuan Po Tseng
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: