GitHub user auradkar opened a pull request:
https://github.com/apache/kafka/pull/233
KAFKA-2419; Garbage collect unused sensors
As discussed in KAFKA-2419 - I've added a time based sensor retention
config to Sensor. Sensors that have not been "recorded" for 'n' seconds are
eligible for expiration.
In addition to the time based retention, I've also altered several tests to
close the Metrics and scheduler objects since they can cause leaks while
running tests. This causes TestUtils.verifyNonDaemonThreadStatus to fail.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/auradkar/kafka K-2419
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/233.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 #233
----
commit b19603cb28a5ae45ba1e6f4288e8bf57ac36b1e3
Author: Aditya Auradkar <[email protected]>
Date: 2015-09-22T23:25:30Z
KAFKA-2419; Garbage collect unused sensors
----
---
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.
---