I am using the Kafka Streams API (KTable, GlobalKTable ..). I am Consuming Kafka topic using KStreams. I have a requirement to filter out few incoming Kafka events based on some configuration and process them later when the configuration changes. Topics have a persistence limit of 7 days at least. Below is the requirement:
Key Value Status
K1 V1 Processed
K2 V2 Unprocessed (based on some business logic)
K3 V3 Processed
K4 V4 Processed
K1 V5 Processed ------>Current Offset<--------
Now I want to process the message (K2,V2) again. I was trying to make use of Ktables. But, not able to succeed. Since, I am relatively new to this concept, not sure KStream, KTable will be able to suffice this request.