As mentioned in the docs
<https://nightlies.apache.org/flink/flink-docs-release-1.16/docs/dev/datastream/event-time/generating_watermarks/#introduction-to-watermark-strategies>
:

> Attention: Both timestamps and watermarks are specified as milliseconds
since the Java epoch of 1970-01-01T00:00:00Z.

Are there any plans for supporting higher time resolutions?

Also, internally, Flink uses the `long` type for the timestamps, so maybe
the milliseconds assumption is arbitrary and things would actually work
just fine for higher resolutions provided that they fit into the long type
(???). I found this SO post:

https://stackoverflow.com/questions/54402759/streaming-data-processing-and-nano-second-time-resolution

which touches upon this but it's a bit old already and there seems to be no
clear answer in the end. So maybe we could touch base on it.

Regards,

Salva

Reply via email to