Skip to content

Handling Data Preservation on dora stop and dora destroy Commands in Rust #586

Closed Answered by haixuanTao
Geoffrey-Hooton asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, thanks for reaching out!

So basically if you use the cli and send a stop signal.

Each node will receive a stop event before. Closing the event stream, that will make the loop return None.

In which case you can write on disk.

You can use --grace-duration if you're not is killed to quickly and does not have time to write on disk.

Does this work for you or do you need a more specific control flow for your dataflow ?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Geoffrey-Hooton
Comment options

Answer selected by Geoffrey-Hooton
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants