use of org.apache.kafka.streams.state.internals.WrappedStateStore in project kafka by apache.
the class StoresTest method shouldCreateRocksDbTimestampedWindowStore.
@Test
public void shouldCreateRocksDbTimestampedWindowStore() {
final WindowStore store = Stores.persistentTimestampedWindowStore("store", ofMillis(1L), ofMillis(1L), false).get();
final StateStore wrapped = ((WrappedStateStore) store).wrapped();
assertThat(store, instanceOf(RocksDBWindowStore.class));
assertThat(wrapped, instanceOf(RocksDBTimestampedSegmentedBytesStore.class));
}
Aggregations