Re: Flink SocketTextStream source scheduled to a single machine

2017-09-19 Thread Till Rohrmann
Hi Le Xu, the reason why all different SocketTextStreamFunction sources are scheduled to the same machine is because of slot sharing. Slot sharing allows Flink to schedule tasks belonging to different operators into the same slot. This allows, for example, to achieve better colocation between task

Flink SocketTextStream source scheduled to a single machine

2017-09-18 Thread Le Xu
Hello! I'm trying to figure out how it happens: I'm having a program reading from multiple socketTextStream and these text streams feed into different data flow (and these data streams never connect in my job). It looks something similar to below: for(int i =0; i< hosts.length; i++) { DataSt