Skip to content

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
  • Loading branch information
ghsnd committed Mar 16, 2020
2 parents f421ff5 + e0a930a commit 56a770b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ object StreamUtil {
*/


case TCPSocketStream.TYPE.PULL => new DataStream[String](env.getJavaEnv.socketTextStream(tCPSocketStream.hostName, tCPSocketStream.port, delimiter).setParallelism(1))
case TCPSocketStream.TYPE.PULL => new DataStream[String](env.getJavaEnv.socketTextStream(tCPSocketStream.hostName, tCPSocketStream.port, delimiter))
case TCPSocketStream.TYPE.PUSH => env.addSource(new TcpReceiverSource(tCPSocketStream.port)).setParallelism(1) // to avoid library to setup multiple instances
}
}
Expand Down

0 comments on commit 56a770b

Please sign in to comment.