Emma Rizzi

08/28/2023, 3:21 PM
Hi all! Sharing some work on using Pub/Sub messages to trigger Prefect flows! I chose to use Memphis as a message broker. My use case was to gather all our automations in one tool, we use Prefect for our data processing pipelines, GitLab CI/CD, and other internal tools for databases, front-end, ect... Now we integrate with Memphis to handle all kind of events in one place and automate all executions from new data processed to ML model training and frontend updates! Code :
🤩 4
🚀 4


08/28/2023, 3:34 PM
awesome! thanks for sharing this curious if you've checked out the Events / webhooks system in prefect cloud at all? it seems like Memphis could also bring in some events that could be used to create webhooks - events in prefect cloud> if you were interested in doing more event-driven things in your prefect ecosystem!

Emma Rizzi

08/28/2023, 4:04 PM
Yes I did! I chatted a bit with Memphis' team, there is no native integration in Memphis to produce webhooks events right now, it can receive event from webhooks but not publish them. Although it's coming to the roadmap soon and hopefully will work without needing an intermediate server as I do today 🙂

Will Raphaelson

08/28/2023, 4:22 PM
This is awesome Emma, DMing you.