Introduction
State stores keep track of data changes over time in Kafka Streams applications. They help remember information between processing steps, like a notebook that saves your progress.
When you want to count how many times a word appears in a stream of messages.
When you need to join data from two streams and keep track of matching records.
When you want to maintain a running total or aggregate of events over time.
When you need to recover your application's state after a restart without losing data.
When you want to query the current state of your streaming data in real time.