Process Flow - GroupBy and aggregation
Input Stream of Records
Group records by key
Apply aggregation function
Emit aggregated results
Output Stream
Data flows in, records are grouped by a key, then an aggregation function combines values per group, producing summarized output.