Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Discussion thread: TBD

JIRA: here

Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).

...

The WindowBytesStore interface provides a method to get the retention period of the window, which can then be used in the wrapper StoreBuilder to determine the corresponding changelog's retention period. However, for SessionBytesStoreSupplier this function is missing.


Public Interfaces

In WindowBytesStoreSupplierSessionBytesStoreSupplier, we will add:

  • long retentionPeriod();

...

  • Users customizing the SessionBytesStoreSupplier should not implement this function. That means:
    1. For users of DSL, with customized session store, they need to pass in that SessionBytesStoreSupplier into Materialized, and hence need to always customize that interface and hence be impacted.

    2. For users of PAPI, they will be addStore with a `StoreBuilder`. Note that users can either customize the SessionBytesStoreSupplier and pass into `Stores#persistentSessionStore`, or they can go directly instantiate the `StoreBuilder` interface. For the latter case, they are not impacted.


Rejected Alternatives

None.

...