Shutdown Order for clean shutdowns #4935
-
Hi, Let's say I have an application that connects to a service to receive messages. These messages are processed and stored to a db. With providers I get a shutdown-hook, but the execution order is wrong: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
Hello 👋 I think executing the shutdown in the reverse order does make sense. That is how we run our hooks in the rest of the application. So, does reversing the process alone is enough for your use-case or are you looking for something else as well? |
Beta Was this translation helpful? Give feedback.
Hello 👋
I think executing the shutdown in the reverse order does make sense. That is how we run our hooks in the rest of the application.
So, does reversing the process alone is enough for your use-case or are you looking for something else as well?