I have two data streams that I want to combine. The problem is that one data stream has a much higher frequency than another, and there are times when one stream does not receive events at all. Is it possible to use the last event from one thread and attach it to another thread for each upcoming event?
The only solution I found is to use the join function, but you need to specify a common window where you can apply the join function. This window is not reached when one thread does not receive any events.
Is it possible to apply the connection function for each event originating from one thread or another, and maintain the state of the last consumed event and use this event for the connection function?
Thanks in advance for the helpful tips!
join stream apache streaming apache-flink
Floppix
source share