I have a requirement to delay processing of some of the events.
eg. I have three events (published on Kafka):
- A (id: 1, retryAt: now)
- B (id: 2, retryAt: 10 minutes later)
- C (id: 3, retryAt: now)
I need to process record A and C immediately while record B needs to be processed Ten minutes later. Is this something feasible to achieve in Apache Flink?
So far whatever I have researched, it seems, "Triggers" is something which might help to achieve it in Flink but have not been able to implement it correctly yet.
I looked through Kafka documentation too, but it doesn't look feasible there.