[ https://issues.apache.org/jira/browse/KAFKA-19542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18009654#comment-18009654 ]
Matthias J. Sax commented on KAFKA-19542: ----------------------------------------- Wondering if there is any relationship to https://issues.apache.org/jira/browse/KAFKA-19529 ? > 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 > Priority: Minor > > 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)