Versions Compared

Key

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

...

Public Interfaces

The current proposed windowed KTable API in KIP-300 looks like the following:

Code Block
public synchronized <K, V> KTable<Windowed<K>, V> windowedTable(final String topic, final Consumed<Windowed<K>, V> consumed, final Materialized<K, V, WindowStore<Bytes, byte[]>> materialized);

We can pass in an additional param, TimeWindow timeWindow into this method, and pass the timeWindow's size into the TimeWindowedSerde. 

The current TimeWindowedSerde constructor:

...