Raise event on cancel dagster run #7852
Unanswered
programmervarunshridhar
asked this question in
Q&A
Replies: 1 comment
-
Hi! Could you provide more context on your use case? (e.g. code snippet for how you'd raise the event, how you expect the listeners to interact with Dagster?) Assuming you're looking for a way to act on run cancelled events, one way to do so in Dagster context is to set up a run status sensor which listens to Dagster's run event storage. For example, you can set up a
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all,
I have a situation where in, on a dagster run cancellation, I have to raise an event (DagsterRunCancelledEvent) and listeners who are listening to this event will go ahead and do the clean up.
Is there a way to pull this off in dagster?
Appreciate your time and help.
Beta Was this translation helpful? Give feedback.
All reactions