Efrat19 commented on code in PR #28752:
URL: https://github.com/apache/flink/pull/28752#discussion_r3594600147


##########
flink-core/src/main/java/org/apache/flink/configuration/CheckpointingOptions.java:
##########
@@ -611,6 +611,27 @@ public class CheckpointingOptions {
                                     + " For this feature to be enabled, it 
must be also supported by the operator."
                                     + " Currently this is supported by all 
TableStreamOperators and CepOperator.");
 
+    /**
+     * Controls how often an intermediate watermark is emitted while a 
watermark advance is
+     * interrupted before completing (see {@link 
#ENABLE_UNALIGNED_INTERRUPTIBLE_TIMERS}). Has no
+     * effect unless interruptible timers are enabled. A value of {@code 0} 
disables intermediate
+     * watermark emission entirely.
+     */
+    @Experimental
+    public static final ConfigOption<Duration>
+            UNALIGNED_INTERRUPTIBLE_TIMERS_INTERMEDIATE_WATERMARK_INTERVAL =
+                    ConfigOptions.key(
+                                    
"execution.checkpointing.unaligned.interruptible-timers.intermediate-watermark-interval")
+                            .durationType()
+                            .defaultValue(Duration.ofSeconds(5))

Review Comment:
   I'd keep the `.intermediate-watermark-interval` and only make it equal to 
`pipeline.auto-watermark-interval` by default
   But either way works



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