public IStoreBuilder <ITimestampedKeyValueStore <K, V> > Materialize() { IKeyValueBytesStoreSupplier supplier = (IKeyValueBytesStoreSupplier)materialized.StoreSupplier; if (supplier == null) { // TODO : RocksDB //supplier = Stores.persistentTimestampedKeyValueStore(name); supplier = new InMemoryKeyValueBytesStoreSupplier(materialized.StoreName); } IStoreBuilder <ITimestampedKeyValueStore <K, V> > builder = Stores.TimestampedKeyValueStoreBuilder( supplier, materialized.KeySerdes, materialized.ValueSerdes); if (materialized.LoggingEnabled) { builder.WithLoggingEnabled(materialized.TopicConfig); } else { builder.WithLoggingDisabled(); } if (materialized.CachingEnabled) { builder.WithCachingEnabled(); } return(builder); }