Description
The Streams DSL processor implementation for the ON_WINDOW_CLOSE emit strategy during KStream windowed aggregations opens a key-value iterator but does not call `close()` on it (link), despite the Javadocs for the iterator making clear that users must do so in order to release resources (link).
I discovered this bug while running load testing benchmarks and noticed that some runs were sporadically hitting OOMs, so it is definitely possible to hit this in practice.
Attachments
Issue Links
- links to