[
https://issues.apache.org/jira/browse/KAFKA-2419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14960131#comment-14960131
]
ASF GitHub Bot commented on KAFKA-2419:
---------------------------------------
GitHub user auradkar opened a pull request:
https://github.com/apache/kafka/pull/323
KAFKA-2419 - Fix to prevent background thread from getting created when not
required
See here for more discussion:
https://issues.apache.org/jira/browse/KAFKA-2419
Basically, the fix involves adding a param to Metrics to indicate if it is
capable of metric cleanup or not.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/auradkar/kafka KAFKA-2419-fix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/323.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #323
----
commit c233d3006950bb3676bb731e1f23d1ce93f05302
Author: Aditya Auradkar <[email protected]>
Date: 2015-10-16T00:59:27Z
Followup commit to KAFKA-2419. This basically prevents a background thread
from getting created if the Metrics instance does not support expiration
----
> 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)