Hey guys, I have a flink stream which receives sensors data every 5 seconds. The data is being processed using "keyBy" in a "Sliding Window" method using ProcessWindowFunction. The key is the sensorID. When one of the sensors is not sending any data more than 5 seconds, I need the stream to recognize this behaviour.
2 things I had in mind: 1st - maybe we could use Session Window and recognize gaps of data for each key, but I still need the Sliding Window for processing bulks of exact minutes. 2nd - Is Custom Trigger able to trigger the processing function and sending custom event? in that case, I can trigger 'off' event every 5 seconds and deal with the calculation in the processing function. Thanks
