env.setParallelism(5).addSource(???) will set the default parallelism for this Job to 5 and then add the source.
-- View this message in context: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/setParallelism-for-addSource-in-streaming-tp11343p11356.html Sent from the Apache Flink User Mailing List archive. mailing list archive at Nabble.com.