https://prefect.io logo
Title
m

Matt Fysh

08/01/2022, 10:31 PM
Hi all, in the realtime examples I’m coming across, all of them use polling in the form of
if __name__ == "__main__": while True:
- are there any examples where flows can be invoked via realtime events, e.g. S3
ObjectCreated
Furthermore, are there any Prefect components in place so that if you change the flow code, it can replay all of the prior events?
t

Taylor Curran

08/01/2022, 10:42 PM
Hi Matt, not sure if you have checked out this article yet? https://www.prefect.io/guide/blog/easy-event-driven-workflows-with-aws-lambda-v2-featuring-serverless/
:upvote: 1
f

Florian Kühnlenz

08/02/2022, 8:09 AM
is the code display broken just for me on this page?
t

Taylor Curran

08/02/2022, 11:59 AM
Just asked our content team about this Florian.