igalshilman 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_r392564523
##########
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:
This seems a bit tricky,
Consider the case where a user set a value 3, in Flink-conf.yaml
But for testing purposes they provide -p with a value equal to
PATALLEISM_DEFAULT.
With what degree of parallelism would the job start?
----------------------------------------------------------------
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