[ 
https://issues.apache.org/jira/browse/KAFKA-2419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14959484#comment-14959484
 ] 

Aditya Auradkar commented on KAFKA-2419:
----------------------------------------

[~junrao] - That is indeed the current implementation i.e. sensors are expired 
whenever the expiry task runs because it is fine to not be super precise. 

My comment was a bit different. Currently each sensor has the ability to 
specify the "inactivity period" i.e. time after which it is eligible for GC. 
Are you saying we should have a single such value on the base metrics instance?

> 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)

Reply via email to