We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
以下是dubbo注册shutdown钩子相关的类,可以看到:dubbo的shutdown直接挂在了JVM的shutdown钩子上。
这种设计导致1个问题:
不能够控制组件的shutdown次序,我希望job组件首先shutdown,dubbo组件随后shutdown,但却做不到。 因为jvm的shutdown钩子是无序的,而spring的shutdown钩子则可以定义执行的先后顺序。
dubbo当前只支持关联到jvm的shutdown钩子,而不支持关联到spring的shutdown钩子。
The text was updated successfully, but these errors were encountered:
Related to #7093.
Sorry, something went wrong.
@klzami Can this issue be closed? If necessary, we can open it again.
fix in #7317
dubbo 3.0.5 版本该问题并没有解决,DubboBeanUtils的registerCommonBeans方法里面的DubboBootstrapApplicationListener也没有注册。所以在dubbo运行在spring环境下,如何关联spring的shutdown的钩子以及控制顺序?有大佬说明一下吗
No branches or pull requests
Environment
Steps to reproduce this issue
以下是dubbo注册shutdown钩子相关的类,可以看到:dubbo的shutdown直接挂在了JVM的shutdown钩子上。
这种设计导致1个问题:
不能够控制组件的shutdown次序,我希望job组件首先shutdown,dubbo组件随后shutdown,但却做不到。
因为jvm的shutdown钩子是无序的,而spring的shutdown钩子则可以定义执行的先后顺序。
Expected Result
Actual Result
dubbo当前只支持关联到jvm的shutdown钩子,而不支持关联到spring的shutdown钩子。
The text was updated successfully, but these errors were encountered: