@Override
        public WindowBytesStoreSupplier windowStore(final DslWindowParams params) {
            if (params.emitStrategy().type() == EmitStrategy.StrategyType.ON_WINDOW_CLOSE) {
                return RocksDbIndexedTimeOrderedWindowBytesStoreSupplier.create(
                        params.name(),
                        params.retentionPeriod(),
                        params.windowSize(),
                        params.retainDuplicates(),
                        params.isSlidingWindow());
            }

            if (params.isTimestamped()) {
                return Stores.persistentTimestampedWindowStore(
                        params.name(),
                        params.retentionPeriod(),
                        params.windowSize(),
                        params.retainDuplicates());
            } else {
                return Stores.persistentWindowStore(
                        params.name(),
                        params.retentionPeriod(),
                        params.windowSize(),
                        params.retainDuplicates());
            }
        }
A {@link DslStoreSuppliers} that supplies all stores backed by RocksDB
streams/src/main/java/org/apache/kafka/streams/state/BuiltInDslStoreSuppliers.java