-
Notifications
You must be signed in to change notification settings - Fork 749
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
repeatable sensors #6
Comments
How would repeatable/persistent sensors waiting for multiple events work?
One way to view events would be conditions that trigger based on a history/log of events. |
@edlee2121 thanks for the perspective! I think there may be a lot of value in de-coupling the event sources from a persistent event log in achieving the above. Splitting apart the The smaller components could become:
Users, then could separately create Sensors (event source) and Triggers (condition + action). |
Definitely waiting for this great feature. |
Addressed in #92 |
Is your feature request related to a problem? Please describe.
Initially, Argo Events was envisioned so that a sensor would only live for a single
cycle
. Once its dependencies were met and it executed it's triggers, it completed. However, this is annoying because now you have to keep creating new sensors for every cycle.Describe the solution you'd like
The ability to create a sensor that lives past a single
cycle
. This can be a signal that fires every 30min or every business day or every business day after an S3 object arrives between 7am and 9am. We can create this sensor once and forget about it. It should re-instantiate or reset itself so that you don't have to create an entirely new one again that does the same thing.There are a couple important things to consider for this:
Describe alternatives you've considered
cyclical
orrepeatable
sensors.dependency
and opt for aFaaS
approach. This means that a sensor would then be restricted to at MAX one signal. With this approach, we can get repeatability easily, but we still need a way to store past events which Events as CRD #35 could be an easy solution or explore diff options through event log storage #4 .The text was updated successfully, but these errors were encountered: