You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Al-assad (Jira)" <ji...@apache.org> on 2021/05/08 08:20:00 UTC
[jira] [Created] (FLINK-22607) Examples use deprecated
AscendingTimestampExtractor
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)