Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-15437

Add metrics about open iterators

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • streams

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mjsax Matthias J. Sax
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: