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

Ismael Juma commented on KAFKA-2419:
------------------------------------

[~aauradkar] [~jjkoshy] We are creating one thread per `Metrics` instance and 
we create one `Metrics` per consumer and per producer. Do we really one to 
create one garbage collection thread per consumer/producer?

Also, I can't find any usages of `ExpireSensorTask` outside of tests:

https://github.com/apache/kafka/search?utf8=%E2%9C%93&q=ExpireSensorTask

What am I missing?

> 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