Scenario is slightly different than the classic stream-stream join
streamA: stream of transactions: transTS, userid, productid,...
streamB: stream of new products created: productid, productname, createTS, ...)
I want to join transactions with productIds, but I can't find a combination of watermarks/join conditions to make that happen.
streamA_wm = streamA.withWatermark("transTS", "3 minutes")
streamB_wm = streamB.withWatermark("createTS", "1 day")
streamA_wm
.join(streamB_wm, "productId AND transTS >= createTS", "leftOuter")
The result is empty.
What am I doing wrong?