Cmx Uni
06/22/2023, 5:07 PMWatermarkStrategy*.*forMonotonousTimestamps*()* for watermark generation. Right after the sourceStream, the elements are sinked into Kafka. My expectation was that the sink would not emit the elements with the latest timestamp because the current watermark is latestTimestamp - 1 , but the latest elements are indeed sinked to kafka before the watermark is emitted.
Are sinks not aware of watermarks? Do I need to write a dummy ProcessFunction that holds these elements back?
Thanks! Sorry, I could not find anything explaining this in the docs..Matthias Broecheler
06/22/2023, 5:55 PMMatthias Broecheler
06/22/2023, 5:57 PM