@Override
        public SessionBytesStoreSupplier sessionStore(final DslSessionParams params) {
            if (params.emitStrategy().type() == EmitStrategy.StrategyType.ON_WINDOW_CLOSE) {
                return new RocksDbTimeOrderedSessionBytesStoreSupplier(
                        params.name(),
                        params.retentionPeriod().toMillis(),
                        true);
            }

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