Extracting Timestamp in MapFunction

Posted by Biplob Biswas on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Extracting-Timestamp-in-MapFunction-tp7240.html

Hi,

I have a source where I am using the collectWithTimestamp method and streaming the timestamp along with the actual data.

Now I want to get the values of the timestamp in the map function, I tried looking for that in the documentation in the following link and the ExtractTimestamp method interested me, although I didnt understand the working as to how can i use that for my purpose.

https://ci.apache.org/projects/flink/flink-docs-release-1.0/apis/streaming/index.html

Also the hyperlink "Working with time" is broken, so couldn't read anything about timestamps from there as well.

Any help is much appreciated.

Thanks a lot.
Biplob Biswas