org.apache.kafka.streams.processor.StateStore Java Examples

The following examples show how to use org.apache.kafka.streams.processor.StateStore. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SerdesPair.java    From kafka-encryption with Apache License 2.0 2 votes vote down vote up
/**
 * Apply the keySerde and valueSerde of the pair to a {@link Materialized}
 *
 * @param materialized
 * @param <S>
 * @return
 */
public <S extends StateStore> Materialized<K, V, S> applyTo(Materialized<K, V, S> materialized) {
    return materialized.withKeySerde(keySerde).withValueSerde(valueSerde);
}
 
Example #2
Source File: MockKeyValueStore.java    From kafka-streams-in-action with Apache License 2.0 2 votes vote down vote up
@Override
public void init(ProcessorContext context, StateStore root) {

}