mxm commented on a change in pull request #12564:
URL: https://github.com/apache/beam/pull/12564#discussion_r470732067



##########
File path: 
runners/flink/src/main/java/org/apache/beam/runners/flink/translation/wrappers/streaming/DoFnOperator.java
##########
@@ -699,7 +699,7 @@ public final void processWatermark1(Watermark mark) throws 
Exception {
 
     long inputWatermarkHold = 
applyInputWatermarkHold(getEffectiveInputWatermark());
     if (keyCoder != null) {
-      timeServiceManager.advanceWatermark(new Watermark(inputWatermarkHold));
+      getTimeServiceManagerCompat().advanceWatermark(new 
Watermark(inputWatermarkHold));

Review comment:
       Maybe add a field for this instead of calling the getter every time?




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to