davidradl commented on code in PR #27440:
URL: https://github.com/apache/flink/pull/27440#discussion_r2707642242
##########
flink-runtime/src/main/java/org/apache/flink/streaming/api/graph/StreamingJobGraphGenerator.java:
##########
@@ -536,6 +537,18 @@ public static void preValidate(StreamGraph streamGraph,
ClassLoader userClassloa
}
}
}
+
+ if (checkpointConfig.isCheckpointingEnabled()
+ && checkpointConfig.getCheckpointIntervalDuringBacklog()
+ ==
CheckpointCoordinatorConfiguration.DISABLED_CHECKPOINT_INTERVAL
+ && checkpointConfig.isPauseSourcesUntilFirstCheckpoint()) {
+ throw new IllegalArgumentException(
+ "Pausing sources until first checkpoint is incompatible
with disabling checkpoints during backlog processing. "
+ + "Please consult "
Review Comment:
nit: "Please consult ...." -> "Please review and choose whether you require
+ CheckpointingOptions.PAUSE_SOURCES_UNTIL_FIRST_CHECKPOINT.key()
+ " or"
+
CheckpointingOptions.CHECKPOINTING_INTERVAL_DURING_BACKLOG.key());
--
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]