If I have a non-keyed data stream piped into a pro...
# troubleshooting
n
If I have a non-keyed data stream piped into a process function with
.process
, that will be run in parallel, right? I don't need to maintain any state in this and the only discussion I'm seeing on parallelism restrictions are when you want to do windowing.
d
Yes, that will run in parallel.
Same is true for map, flatmap, filter.
A non-keyed window can’t run in parallel because it has to compute a global aggregation, across all of the data.
👍 1
n
Great, thanks for confirming!