ChoMinGi commented on PR #23180: URL: https://github.com/apache/kafka/pull/23180#issuecomment-5345735340
Updated. removeSensor(Sensor) now removes the sensor name from bookkeeping and drops the entry once it becomes empty. I scoped the per-entity lookup to the current individual-removal call sites: topic-level sensors in RecordQueue and RecordCollectorImpl, and thread-level sensors in DefaultStateUpdater. Client-level bookkeeping is also cleaned directly. The remaining in-tree level-specific sensors are torn down in bulk, which already drops the whole bookkeeping entry. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
