You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2018/09/20 05:57:46 UTC

[GitHub] zonghaishang commented on issue #2525: Problems of graceful shutdown in 2.6.3 and some recommendations

zonghaishang commented on issue #2525:  Problems of graceful shutdown in 2.6.3 and some  recommendations
URL: https://github.com/apache/incubator-dubbo/issues/2525#issuecomment-423049478
 
 
   ```
   3.建议:针对Spring容器优雅停机,我们建议将spring close事件监听逻辑移到ApplicationConfig中,并在ApplicationConfig中注销默认停机hook,注册spring 停机hook。这样做的好处就是,如果框架是基于spring容器,可以一刀切的方式实现hook的管理,完全依赖spirng管理停机,使用者仅需要关系spring生命周期。
   ```
   强绑定了spring容器,不可取,这在dubbo-config-api模块不依赖spring。
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org