[ 
https://issues.apache.org/jira/browse/FLINK-22607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Al-assad updated FLINK-22607:
-----------------------------
    Description: 
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 
{color:#0747a6}_DataStream#assignTimestampsAndWatermarks(AscendingTimestampExtractor)_{color},

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 
{color:#0747a6}_DataStream#assignTimestampsAndWatermarks(WatermarkStrategy)_{color}
 instead.

 

 

  was: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.


> 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.0, 1.12.1, 1.12.2, 1.13.0, 1.12.3
>            Reporter: Al-assad
>            Priority: Major
>             Fix For: 1.13.0, 1.12.3
>
>
> 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 
> {color:#0747a6}_DataStream#assignTimestampsAndWatermarks(AscendingTimestampExtractor)_{color},
> 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 
> {color:#0747a6}_DataStream#assignTimestampsAndWatermarks(WatermarkStrategy)_{color}
>  instead.
>  
>  



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

Reply via email to