Package org.apache.kafka.streams
Interface KafkaStreams.StateListener
- Enclosing class:
- KafkaStreams
public static interface KafkaStreams.StateListener
Listen to
KafkaStreams.State
change events.-
Method Summary
Modifier and TypeMethodDescriptionvoid
onChange
(KafkaStreams.State newState, KafkaStreams.State oldState) Called when state changes.
-
Method Details
-
onChange
Called when state changes.- Parameters:
newState
- new stateoldState
- previous state
-