Open Max-Meldrum opened 2 years ago
I think this is a good argument for having an explicit key_by
operator #284. If it's implicit then we can't know if an operator changes the key of incoming events before executing the pipeline, so we can't know if it's safe to fuse it.
The runtime will need some way to distinguish Operators. An example is knowing that a sequence of Operators is of type
Non-Blocking
and thus can be fused/chained. A straightforward approach would be something like the following: