Delayed Functions #16430
-
|
Basically the title. Workflows for me require the need to set a delay on the function. So something comes in is processed, that is all good and well. But then I would need part 2 to complete but after say 7 days. I am looking at maybe using DAPR, RabbitMQ or even thinking taking advantage of the argo instance using argo workflows or events. Was wondering if anyone else has the delay need and solved it. The thing is data needs to be remembered too so storing it on a db or something is also going to be a thing. This means I can send part 2 and the data required along at the set time via https request again. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Yeah you'll want to pair Knative with something external. You've mentioned a few but I'm also aware of https://github.com/restatedev/restate If you want to build something custom we have an eventing PingSource that generates event on a cron. You could generate check your DB and generate new events for things that have been there for 7 days. |
Beta Was this translation helpful? Give feedback.
Yeah you'll want to pair Knative with something external. You've mentioned a few but I'm also aware of https://github.com/restatedev/restate
If you want to build something custom we have an eventing PingSource that generates event on a cron. You could generate check your DB and generate new events for things that have been there for 7 days.