Have two kafka topics of two different tables from mysql database .
Table1 - Transaction Data
Table2 - Transaction Details Data
Now i need to merge data from these two kafka topics (aka mysql tables) and push to Mongo Db as one document.
Though i can use kafka streams to do the same, but need suggestions how to handle following cases
Case 1 - when Table1 data arrives but not Table2 data
Case 2 - when Table2 data arrives but not Table1 data