New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add CoordinatedShutdown task (or document how) automatically in AkkaManagement.stop() #591
Comments
The general recommendation wrt lifecycle management was for libraries (like Akka Management) to document recommended ways to handle the shutdown without actually doing the actual task registration. This leaves users of the library or framework integrators the options to handle the lifecycle whichever way works best for them. |
It could be configurable - enable/disable with |
I think this is counterintuitive. IMHO, having a coherent approach to lifecycle management in all libraries of the ecosystem is very helpful. Then, each library should consider the shutdown a first-level topic on their ref docs and start the page with a snippet registering the necessary tasks to fully shutdown each module on that library. The main problem I have, as a Lagom maintainer, is that my usage of |
We should at the very least document that it is a good idea. |
#650 added a link to how Lagom does it. |
For example, something like
The text was updated successfully, but these errors were encountered: