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