Krzysztof, Note that if you want to have Flink treat these sequence numbers as event time timestamps, you probably can, so long as they are generally increasing, and there's some bound on how out-of-order they can be.
The advantage to doing this is that you might be able to use Flink SQL's event time sorting directly, rather than implementing something yourself. To get this to work you will need to be able to specify watermarking -- which should be feasible, so long as there's some bound on the out-of-orderness of the sequence numbers. David On Tue, Dec 10, 2019 at 5:09 PM KristoffSC <krzysiek.chmielew...@gmail.com> wrote: > Hi, > Is it possible to use an field that does not represent timestamp to order > events in Flink's pipeline? > > In other words, I will receive a stream of events that will ha a sequence > number (gaps are possible). > Can I maintain the order of those events based on this field same as I > would > do for time representing field? > > Regards, > Krzysztof > > > > -- > Sent from: > http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/ >