https://prefect.io logo
Title
o

Ouail Bendidi

02/23/2023, 4:48 PM
Hello everyone, Any advice on how to have a prefect flow triggered by rabbitmq events ? My current implem is to have a flow that is always running and listens on messages, then triggers the corresponding deployment when an event is received, but it seems very flaky and would prefer if prefect server is able to do it instead of running it in an agent šŸ¤”
āœ… 1
j

Joshua Grant

02/23/2023, 6:00 PM
in both v1 and v2, we use the prefect REST API to fire off flows: ā€¢ v1: can't find the documentation, but it's a GraphQL POST ā€¢ v2: https://docs.prefect.io/api-ref/rest-api-reference/#tag/Flow-Runs/operation/create_flow_run_flow_runs__post
šŸ‘ 1