I am trying to join 2 streams using CoProcessFunction. One of the input stream A is generated in realtime. However the other input stream B is loaded by a daily scheduled job with 1 day delay, meaning the event that is put in the stream today always has event time from yesterday.
With that being said, stream B's watermark will always be ~1 day behind A's watermark, so I would imagine a lot of events from A will be buffered in the memory. I am wondering if there is a way to solve issue. Some additional background, both stream A and B are kinesis streams(I am using FlinkKinesisConsumer) with retention period = 7 days.
Thanks in advance!