curcur commented on a change in pull request #16531:
URL: https://github.com/apache/flink/pull/16531#discussion_r676264956



##########
File path: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/StreamTask.java
##########
@@ -338,6 +338,9 @@ protected StreamTask(
                 Executors.newCachedThreadPool(
                         new ExecutorThreadFactory("AsyncOperations", 
uncaughtExceptionHandler));
 
+        environment.setMainMailboxExecutor(mainMailboxExecutor);
+        environment.setAsyncOperationsThreadPool(asyncOperationsThreadPool);

Review comment:
       asyncOperationsThreadPool provides async snapshot workers for async 
checkpoint runnable, which is exactly what we used for materialization in the 
changelog case.
   
   whether/how to merge IO pool with this async pool is a different topic, 
which is related but may not be within this ticket's scope.
   




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