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

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to