Stores.persistentWindowStore(storeName, retentionPeriod, numberOfSegments,
@SuppressWarnings("deprecation") // continuing to support Windows#maintainMs/segmentInterval in fallback mode private static <K, V> StoreBuilder<WindowStore<K, V>> joinWindowStoreBuilder(final String joinName, final JoinWindows windows, final Serde<K> keySerde, final Serde<V> valueSerde) { return Stores.windowStoreBuilder( Stores.persistentWindowStore( joinName + "-store", Duration.ofMillis(windows.size() + windows.gracePeriodMs()), Duration.ofMillis(windows.size()), true ), keySerde, valueSerde ); }
supplier = Stores.persistentWindowStore( materialized.storeName(), Duration.ofMillis(retentionPeriod), supplier = Stores.persistentWindowStore( materialized.storeName(), windows.maintainMs(),
break; case WINDOW: builder = Stores.windowStoreBuilder(Stores.persistentWindowStore(spec.getName(), spec.getRetention(), 3, spec.getLength(), false), keySerde, valueSerde);