Have a stream with custom flows and at a certain stage I want to split the stream and have two alternative data handling which will merge again later.
E.g.
-> F3 -> F6
Src -> F1 -> F2 > Merge -> Sink
-> F4 -> F5
F2
should have a condition saying if data contains format A
then it should go to flow F3
, else go to F4
.
As far as I can see, each flow can only have one port in each direction (or two if bidi) - so how can I support such a flow?