Re: How to connect more than 2 hetrogenous Streams!!
Posted by
vino yang on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/How-to-connect-more-than-2-hetrogenous-Streams-tp21825p21857.html
Hi Puneet,
Hequn gave you two good solutions. If you have a good knowledge of Flink DataStream API.
You can also customize it to connect more than two streams, you must know :
- DataStream#connect API
- ConnectedStreams
- CoMapFunction, CoFlatMapFunction...
Referring to them, you can got connect(DataStream1, DataStream2...).
Really, some scenario need more than two streams connecting such as CEP.
Thanks, vino.