Matthias J. Sax created KAFKA-15437:
---------------------------------------
Summary: Add metrics about open iterators
Key: KAFKA-15437
URL: https://issues.apache.org/jira/browse/KAFKA-15437
Project: Kafka
Issue Type: New Feature
Components: streams
Reporter: Matthias J. Sax
Kafka Streams allows to create iterators over state stores. Those iterator must
get closed to free up resources (especially for RocksDB). – We regularly get
user reports of "resource leaks" that can be pinned down to leaking (ie
not-closed) iterators.
To simplify monitoring, it would be helpful to add a metric about open
iterators to allow users to alert and pin-point the issue directly (and before
the actually resource leak is observed).
We might want to have a DEBUG level per-store metric (to allow identifying the
store in question quickly), but an already rolled up INFO level metric for the
whole application.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)