Treat data in motion as a first-class citizen.
Stream Processing: treat data in motion as a first-class citizen
absorb bursts before they become outages
Tighter watermarks = lower latency, more incomplete data.
Stream processing computes over continuously arriving data. Operators (map, filter, aggregate, window) transform the stream; checkpointing makes computation fault-tolerant.
Tumbling windows partition time into fixed buckets; sliding overlap.
Session windows close after inactivity gap.
Watermarks handle late events; trade between completeness and latency.
Real-time clickstream aggregation.