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

Stores for kstream-kstream join cannot be in-memory

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 0.10.2.0
    • None
    • streams
    • None

    Description

      Whereas we can specify in the DSL that stores used for aggregates can be RocksDb-based on in-memory, we cannot do that for stores used for KStream-KStream joins. E.g., the join() methon in KStreamImpl.java creates two state stores and the user does not have the option of having them be in-memory:

      StateStoreSupplier thisWindow =
      createWindowedStateStore(windows, keySerde, lhsValueSerde, joinThisName + "-store");

      StateStoreSupplier otherWindow =
      createWindowedStateStore(windows, keySerde, otherValueSerde, joinOtherName + "-store");

      Part of the problem is that for joins, stores are not exposed to the user. We might want to rethink that.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              enothereska Eno Thereska
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: