pnowojski commented on code in PR #27589:
URL: https://github.com/apache/flink/pull/27589#discussion_r2803458235


##########
flink-core/src/main/java/org/apache/flink/configuration/PipelineOptions.java:
##########
@@ -328,4 +329,25 @@ public enum VertexDescriptionMode {
                                     + "while still using watermark alignment, 
set this parameter to true. "
                                     + "The default value is false. Note: This 
parameter may be "
                                     + "removed in future releases.");
+
+    @Experimental
+    public static final ConfigOption<Integer> WATERMARK_ALIGNMENT_BUFFER_SIZE =
+            key("pipeline.watermark-alignment.buffer-size")
+                    .intType()
+                    .defaultValue(3)

Review Comment:
   The answer to the best of my knowledge is 3 :)
   
   In worst case scenario there is 1 update interval delay `SourceOperator` -> 
`SourceCoordinator`, another 1 update interval delay the other way around. I've 
added one more as an epsilon to cover for some hiccups like network delays, 
maybe a GC pause etc. I've added this explanation to the description.
   
   Unless I'm missing something, I don't imagine anyone having to configure 
this apart of maybe disabling it - and that only if there is some bug tbh.



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