[ https://issues.apache.org/jira/browse/KAFKA-2419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14958962#comment-14958962 ]
Aditya Auradkar commented on KAFKA-2419: ---------------------------------------- [~ijuma] - We create only a single metrics instance for the KafkaServer. We do create a separate Sensor per consumer and producer. As for the ExpireSensor task, let me fix that. My patch added that to the thread pool executor, I nuked that while refactoring. Shall submit a fix today. > Allow certain Sensors to be garbage collected after inactivity > -------------------------------------------------------------- > > Key: KAFKA-2419 > URL: https://issues.apache.org/jira/browse/KAFKA-2419 > Project: Kafka > Issue Type: New Feature > Affects Versions: 0.9.0.0 > Reporter: Aditya Auradkar > Assignee: Aditya Auradkar > Priority: Blocker > Labels: quotas > Fix For: 0.9.0.0 > > > Currently, metrics cannot be removed once registered. > Implement a feature to remove certain sensors after a certain period of > inactivity (perhaps configurable). -- This message was sent by Atlassian JIRA (v6.3.4#6332)