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

The Kafka Metrics class should clear the mbeans map when closing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • metrics
    • None

    Description

      The JmxReporter should clear the mbeans map when closing. Otherwise, metrics may be incorrectly re-registered if the JmxReporter class is used after it is closed.

      For example, calling JmxReporter#close followed by JmxReporter#unregister could result in some of the mbeans that were removed in the close operation being re-registered.

      Attachments

        Issue Links

          Activity

            People

              cmccabe Colin McCabe
              cmccabe Colin McCabe
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: