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

Clean up all metrics that were forgotten to be closed

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 3.5.0
    • None
    • controller, core, log
    • None

    Description

      In the current kafka code, there are still many module metrics that are forgotten to be closed when they stop, although some of them have been fixed, such as kafka-14866 and kafka-14868. et.

      These metric leaks may lead to potential OOM risks, and, in the unit tests and integration tests in the code, there are also a large number of `closes` without removing the metric, which will also cause CI test instability. By cleaning up these leaked indicators, these risks can be eliminated, and the security and stability of the code can be enhanced.

      Here I will find all the metrics that are forgotten and closed in the current version, and submit them according to the subtasks in order to fix them.

      Attachments

        Activity

          People

            hudeqi hudeqi
            hudeqi hudeqi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: