argoproj / argo-events

Event-driven Automation Framework for Kubernetes
https://argoproj.github.io/argo-events/
Apache License 2.0
2.3k stars 726 forks source link

Sensor trigger suspend and resume #2034

Open uday-mandava opened 2 years ago

uday-mandava commented 2 years ago

Is your feature request related to a problem? Please describe. Currently there is no straight way to suspend and resume the sensor's trigger.

Describe the solution you'd like I want to have suspend/ resume of sensors trigger similar to argo cron workflow suspend and resume. We can have a sensor start listening to fresh events after resuming. No actions from the trigger while sensor is in suspended mode.


Message from the maintainers:

If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.

sarabala1979 commented 2 years ago

@uday-mandava Can you provide more information about usecase for this enhancement?

comprakash commented 1 year ago

Use cases for this feature:

The Cron Workflow already has the suspend functionality and similar thing is needed in Event Sensor.

Could you please prioritize this feature.

josescuderoh commented 1 month ago

@comprakash curious how you have been dealing with the above use cases?