[ https://issues.apache.org/jira/browse/KAFKA-2419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14959522#comment-14959522 ]
Jun Rao commented on KAFKA-2419: -------------------------------- Yes, I was suggesting using a single expiration value at the metrics instance level and just letting the scheduler wake up periodically using the expiration value as the interval. Is there a need to support sensors with the different expiration time? > 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)