Hi folks, I have a question about the `@trigger(ev...
# ask-metaflow
b
Hi folks, I have a question about the
@trigger(event="my-event")
decorator. I have an AWS SQS EventSource that publishes events with
eventName: my-event
. Can I use the trigger decorator above to get a flow to process the SQS message included in the Argo event? Or is this decorator meant to be used only to react to events created from metaflow? (because I can see that the decorator creates an Argo EventSensor with predefined
eventSourceName
and
eventName
, but I can't see any options to change those 🤷)
s
I’m pretty sure the trigger logic is limited to Argo right now.
FWIW I’m using AWS Event Bridge to kick off Step Function Executions, but not through the @trigger logic
b
Yes, I'm using Metaflow with EKS+Argo, sorry if that wasn't clear@salmon-exabyte-11054 !
s
Ahh, yeah no experience there 😄