Re: TimelyFlatMapFunction and DataStream
Posted by
Stephan Ewen on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/TimelyFlatMapFunction-and-DataStream-tp9820p9825.html
Hi Ken!
It may not be obvious, so here is a bit of background:
The timers that are used in the FlatMapFunction are scoped by key. We thought that this is how they are mainly useful - that's why you need to define keys to use them.
I think the docs are in error, thanks for pointing that out.
In your use case, do you need timers without keys, or only access to the current processing/event time?
Best,
Stephan