Abstract Algorithms
Abstract Algorithms

Follow
Abstract Algorithms
Home

Topic

stateful processing

1 article

Stateful Aggregations in Spark Structured Streaming: mapGroupsWithState

TLDR: mapGroupsWithState gives each streaming key its own mutable state object, persisted in a fault-tolerant state store that checkpoints to object storage on every micro-batch. Where window aggregat

Apr 19, 2026•28 min read

Abstract Algorithms · © 2026 · Engineering learning lab