I have a stream of data coming in from mysql table to kafka to my spark program.When a new row is inserted, I do transformations on the stream and save to cassandra.
My problem is when a row is updated, I would like to union the transformations I made previously when the row was created and the new update. I understand that I have the option of using stateful streaming and database connectors, can someone explain any other options I have when I need to perform an external look up.