Saransh Jain
04/01/2025, 10:54 AMWatermarkGenerator for mainOutput is never called:
@Override
public void onEvent(T event, long eventTimestamp, WatermarkOutput output) {
maxTimestamp = Math.max(maxTimestamp, eventTimestamp);
}
• As a result, maxTimestamp never updates, making it seem like the WatermarkGenerator in mainOutput is effectively unused.
I do see watermark updates happening for split output, but for mainOutput, there doesn’t seem to be any invocation of onEvent.
Flink version: 1.17
Is my understanding correct that the WatermarkGenerator in mainOutput is never actually used?
Is there any other flow in which the mainOutput watermark gets updated?