import org.apache.kafka.streams.state.Stores
val kvStore = Stores.inMemoryKeyValueStore("store-name")
scala> :type kvStore
org.apache.kafka.streams.state.KeyValueBytesStoreSupplier
Stores Utility — Factory of State Stores
Stores
is a utility for creating state stores (via StoreSuppliers or StoreBuilders).
Method | Description |
---|---|
|
Creates a KeyValueBytesStoreSupplier of KeyValueStores (i.e. InMemoryKeyValueStore) |
|
Creates a SessionBytesStoreSupplier of SessionStores (i.e. InMemorySessionBytesStoreSupplier) |
|
Creates a WindowBytesStoreSupplier of WindowStores (i.e. |
|
Creates a KeyValueStoreBuilder of KeyValueStores (i.e. KeyValueStoreBuilder) |
|
Creates a KeyValueBytesStoreSupplier of KeyValueStores (i.e. |
|
Creates a KeyValueBytesStoreSupplier of KeyValueStores (i.e. |
|
Creates a SessionBytesStoreSupplier of SessionStores (i.e. RocksDbSessionBytesStoreSupplier) |
|
Creates a KeyValueBytesStoreSupplier of KeyValueStores (i.e. |
|
Creates a WindowBytesStoreSupplier of WindowStores (i.e. RocksDbWindowBytesStoreSupplier) |
|
Creates a WindowBytesStoreSupplier of WindowStores (i.e. RocksDbWindowBytesStoreSupplier) |
|
Creates a StoreBuilder of SessionStores (i.e. SessionStoreBuilder) |
|
Creates a StoreBuilder of TimestampedKeyValueStores (i.e. TimestampedKeyValueStoreBuilder) |
|
Creates a StoreBuilder of TimestampedWindowStores (i.e. TimestampedWindowStoreBuilder) |
|
Creates a StoreBuilder of WindowStores (i.e. WindowStoreBuilder) |