Hello!
The challenge that I am facing is how to know when the stream is finished in datastream api (flink batch and bounded source).
I thought maybe use the 'close' or 'cancel' function in process function, or maybe set event time timer for LONG.MAX_VALUE when the watermarks will finish. Thanks!