how is data partitoned and distributed for connected stream

Posted by xie wei on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/how-is-data-partitoned-and-distributed-for-connected-stream-tp15054.html

Hello Flink,

assume there are two finite streams, stream1(s1)has only one event, stream2(s2)have 100 events, the parallelism is 2.
Then doing stream1.connect(stream2).map().
How is the data partitioned and distributed to the CoMap instances? Is the event from s1 only available in one of the CoMap instance?
Thank you!

Best regards
Wei