[
https://issues.apache.org/jira/browse/KAFKA-2419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17092427#comment-17092427
]
Guozhang Wang commented on KAFKA-2419:
--------------------------------------
Client-side metrics are mostly created when the corresponding client is closed;
however for some of them (e.g. in Streams, for lower level task / processor /
state metrics) at the lower modules they may be removed / re-created when the
modules are created / destroyed.
Could you let us know which exact metrics are seemingly accumulating and not
GC'ed?
> 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: Improvement
> Affects Versions: 0.9.0.0
> Reporter: Aditya Auradkar
> Assignee: Aditya Auradkar
> Priority: Blocker
> Labels: quotas
> Fix For: 0.9.0.0
>
> Attachments: Leak1, Leak1.jpg, leak2.jpg
>
>
> 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
(v8.3.4#803005)