Kirk True created KAFKA-19542:
---------------------------------

             Summary: Consumer.close() does not remove all added sensors from 
Metrics
                 Key: KAFKA-19542
                 URL: https://issues.apache.org/jira/browse/KAFKA-19542
             Project: Kafka
          Issue Type: Bug
          Components: clients, consumer, metrics
    Affects Versions: 4.1.0
            Reporter: Kirk True
            Assignee: Kirk True


When a Consumer is created, it adds sensors to the Metrics object. Some of the 
classes that manage metrics implement AutoCloseable and diligently remove any 
Sensors it added from the Metrics object. However, not all of the sensors are 
removed. It feels like we should be consistent.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to