You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "AlbumenJ (via GitHub)" <gi...@apache.org> on 2023/05/18 09:34:12 UTC

[GitHub] [dubbo] AlbumenJ commented on issue #12341: 优雅停机相关问题

AlbumenJ commented on issue #12341:
URL: https://github.com/apache/dubbo/issues/12341#issuecomment-1552793055

   > 您好,目前使用的是dubbo3.1版本,框架使用api形式启动的dubbo,请问一下,我们使用DubboBootstrap.getInstance().stop();能够实现dubbo优雅停机吗?
   
   请升级到 3.2 版本,这一块已经进行了完善。
   预期 stop 的时候会提前反注册,然后等待一段时间流量是否摘除。但是由于 stop 本身是一个同步的操作,等待的时间不会很长。如果需要保证稳定的话最好使用 offline 的 qos api 提前摘除。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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