zhuzhurk commented on a change in pull request #8931: [FLINK-13041] Make 
ScheduleMode configurable via ExecutionConfig
URL: https://github.com/apache/flink/pull/8931#discussion_r299384770
 
 

 ##########
 File path: 
flink-core/src/main/java/org/apache/flink/api/common/ExecutionConfig.java
 ##########
 @@ -90,6 +90,8 @@
        /** Defines how data exchange happens - batch or pipelined */
        private ExecutionMode executionMode = ExecutionMode.PIPELINED;
 
+       private ScheduleMode scheduleMode = ScheduleMode.LAZY_FROM_SOURCES;
 
 Review comment:
   Changing it to EAGER by default may have `DataSet` job get scheduled in 
streaming style, which might be unexpected. Shall we override it to be 
LAZY_FROM_SOURCES by default for DataSet?

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