...
This KIP adds the cache.max.bytes.buffering
configuration to the streams configuration as described above.
...
Proposed implementation outline
Change the RocksDB implementation for KStream windowed aggregations, to not use “range queries” but multiple gets, so that we can leverage caches for it as well.
Extract the LRU cache out of RocksDBStore, as a separate store for KGroupedStream.aggregate() / reduce(), and KStream.aggregateByKey() / reduceByKey().
Add the LRU cache for
KTable.to()
operator.Add the above config into StreamsConfig
...