Sxnan commented on code in PR #23521:
URL: https://github.com/apache/flink/pull/23521#discussion_r1366607532
##########
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/graph/StreamGraphGenerator.java:
##########
@@ -415,6 +417,12 @@ private void configureStreamGraphStreaming(final
StreamGraph graph) {
graph.setCheckpointStorage(checkpointStorage);
graph.setSavepointDirectory(savepointDir);
graph.setGlobalStreamExchangeMode(deriveGlobalStreamExchangeModeStreaming());
+
+ if (Duration.ZERO.equals(
+ configuration.get(
+
ExecutionCheckpointingOptions.CHECKPOINTING_INTERVAL_DURING_BACKLOG))) {
+
graph.setTimerServiceProvider(InternalBacklogAwareTimerServiceManagerImpl::create);
+ }
Review Comment:
Before this PR, if it is not set, it will use the
`InternalTimeServiceManagerImpl::create` as the timerSerivceProvider, see
`org.apache.flink.streaming.api.operators.InternalTimeServiceManagerImpl#705`
--
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]