赞
踩
时间相关:
With punctuated watermarks, Flink calls checkAndGetWatermark() on each new event, i.e. right after calling assignWatermark(). An actual watermark is emitted only if checkAndGetWatermark() returns a non-null value which is greater than the last watermark.
来自stackoverflow回答
With periodic watermarks, Flink calls getCurrentWatermark() at regular interval, independently of the stream of events.
设置周期性更新的时间
// 设置Watermar
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。