Below is the use case for Spark Structure Streaming
Step 1: StreamA = loaded from Kafka topicA containing event of type A
Step 2: StreamB = loaded from Kafka topicB containing event of type B
Step 3: JoinedStream = StreamA inner join StreamB on id
Step 4: Insert matched data into Database
I don't need matched data for further processing. Will Spark stream clear the state on joining ?
If not how do I clear them without watermark?