tzulitai commented on a change in pull request #58: [FLINK-16254] Support -p / 
--parallelism command option
URL: https://github.com/apache/flink-statefun/pull/58#discussion_r392565626
 
 

 ##########
 File path: 
statefun-flink/statefun-flink-launcher/src/main/java/org/apache/flink/statefun/flink/launcher/StatefulFunctionsJobGraphRetriever.java
 ##########
 @@ -113,4 +124,10 @@ private PackagedProgram createPackagedProgram() {
       throw new RuntimeException("Unable to construct a packaged program", e);
     }
   }
+
+  private static int resolveParallelism(int parallelism, Configuration 
configuration) {
 
 Review comment:
   The parallelism used will be the value provided via `-p`.
   
   Note that `ExecutionConfig.PARALLELISM_DEFAULT` is `-1`. It's merely a flag 
to indicate that no parallelism was set.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to