We have stream processing pipeline to ingest Kafka messages. And we were using Flink v1.4.2. and now planning to migrate to 1.14.2.
Timestamps are based on ingest-time. As env.setStreamTimeCharacteristic(TimeCharacteristic.IngestionTime) is depcreated since 1.12 , how to set this ??
Which watermark strategy should be used ?
timeWinow() is also deprecated. I Couldn't find way to use: window(SlidingIngestionTimeWindows.of()) only SlidingProcessingTimeWindows/SlidingEventTimeWindows available.
Thanks.
1条答案
按热度按时间km0tfn4u1#
What you can do is to use a watermark strategy like this one
in combination with SlidingEventTimeWindows.