Why it matters
Stateful streaming enables aggregations + joins over time. Understanding shapes real streaming.
Advertisement
The architecture
State store: RocksDB (default in Spark 3.2+) or HDFS.
Checkpoint: durable recovery point.
Advertisement
How it works end to end
State store: RocksDB for scale, HDFS legacy.
Checkpointing: at trigger interval.
State size: monitor + bound.
Recovery: checkpoint + state restore.