Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-3776 Unify store and downstream caching in streams
  3. KAFKA-3777

Extract the existing LRU cache out of RocksDBStore

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.1.0
    • 0.10.1.0
    • streams
    • None

    Description

      The LRU cache that is currently inside the RocksDbStore class. As part of KAFKA-3776 it needs to come outside of RocksDbStore and be a separate component used in:

      1. KGroupedStream.aggregate() / reduce(),
      2. KStream.aggregateByKey() / reduceByKey(),
      3. KTable.to() (this will be done in KAFKA-3779).

      As all of the above operators can have a cache on top to deduplicate the materialized state store in RocksDB.

      The scope of this JIRA is to extract out the cache of RocksDBStore, and keep them as item 1) and 2) above; and it should be done together / after KAFKA-3780.

      Note it is NOT in the scope of this JIRA to re-write the cache, so this will basically stay the same record-based cache we currently have.

      Attachments

        Activity

          People

            damianguy Damian Guy
            enothereska Eno Thereska
            Eno Thereska Eno Thereska
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: