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
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---