You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2022/09/19 11:33:36 UTC

[GitHub] [flink-kubernetes-operator] SteNicholas commented on a diff in pull request #362: [FLINK-28574] Bump the JOSDK version to 3.2.1

SteNicholas commented on code in PR #362:
URL: https://github.com/apache/flink-kubernetes-operator/pull/362#discussion_r974146152


##########
flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/FlinkOperator.java:
##########
@@ -113,6 +113,9 @@ private void overrideOperatorConfigs(ConfigurationServiceOverrider overrider) {
         } else {
             LOG.info("Configuring operator with {} reconciliation threads.", parallelism);
             overrider.withConcurrentReconciliationThreads(parallelism);
+            // feat: separate executor service for workflow
+            // https://github.com/java-operator-sdk/java-operator-sdk/pull/1371
+            overrider.withExecutorService(Executors.newFixedThreadPool(parallelism));

Review Comment:
   @csviri @morhidi, this change comes from [FlinkOperatorTest.java#L54](https://github.com/apache/flink-kubernetes-operator/blob/main/flink-kubernetes-operator/src/test/java/org/apache/flink/kubernetes/operator/FlinkOperatorTest.java#L54), which get the `ExecutorService` with default thread number 10 and the `concurrentReconciliationThreads() ` returns the default thread number.



-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org