aljoscha commented on a change in pull request #12147:
URL: https://github.com/apache/flink/pull/12147#discussion_r425686482



##########
File path: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/datastream/DataStream.java
##########
@@ -910,40 +930,25 @@ public ExecutionConfig getExecutionConfig() {
                final int inputParallelism = 
getTransformation().getParallelism();
                final AssignerWithPeriodicWatermarks<T> cleanedAssigner = 
clean(timestampAndWatermarkAssigner);
 
-               TimestampsAndPeriodicWatermarksOperator<T> operator =
-                               new 
TimestampsAndPeriodicWatermarksOperator<>(cleanedAssigner);
+               final WatermarkStrategy<T> wms = new 
AssignerWithPeriodicWatermarksAdapter.Strategy<>(cleanedAssigner);
+               final TimestampsAndWatermarksOperator<T> operator = new 
TimestampsAndWatermarksOperator<>(wms);

Review comment:
       👌
   




----------------------------------------------------------------
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:
[email protected]


Reply via email to