[jira] [Created] (FLINK-22607) Examples use deprecated AscendingTimestampExtractor

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-22607) Examples use deprecated AscendingTimestampExtractor

Shang Yuanchun (Jira)
Al-assad created FLINK-22607:
--------------------------------

             Summary: Examples use deprecated AscendingTimestampExtractor
                 Key: FLINK-22607
                 URL: https://issues.apache.org/jira/browse/FLINK-22607
             Project: Flink
          Issue Type: Improvement
          Components: Examples
    Affects Versions: 1.12.3, 1.13.0, 1.12.2, 1.12.1, 1.12.0
            Reporter: Al-assad
             Fix For: 1.12.3, 1.13.0


The streaming examples [TopSpeedWindowing|https://github.com/apache/flink/blob/master/flink-examples/flink-examples-streaming/src/main/java/org/apache/flink/streaming/examples/windowing/TopSpeedWindowing.java] demonstrates that the generating watermarks function part uses the deprecated *_DataStream#assignTimestampsAndWatermarks(AscendingTimestampExtractor)_*, which is recommended in the relevant [Flink docs|https://ci.apache.org/projects/flink/flink-docs-stable/docs/dev/datastream/event-time/generating_watermarks/#using-watermark-strategies] is recommended to use *_DataStream#assignTimestampsAndWatermarks(WatermarkStrategy)_* instead.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)