kl0u commented on a change in pull request #10835: [FLINK-15533] Fix 
parallelism setting propagation during graph instantiation.
URL: https://github.com/apache/flink/pull/10835#discussion_r365821297
 
 

 ##########
 File path: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/environment/StreamExecutionEnvironment.java
 ##########
 @@ -272,6 +272,7 @@ public StreamExecutionEnvironment setMaxParallelism(int 
maxParallelism) {
         * value.
         */
        public int getParallelism() {
+               consolidateParallelismDefinitionsInConfiguration();
 
 Review comment:
   Thanks @aljoscha , I updated the PR. I think that your suggestion is correct 
as it respect the priority order of the different places where the user can 
specify the parallelism. Let's see what Travis has to say.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to