You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "fcabbage (via GitHub)" <gi...@apache.org> on 2025/12/13 02:02:00 UTC
[D] [Q/A][Java SDK (优雅下线相关)] 请问为啥Dubbo3使用triple协议,没有类似dubbo协议时的优雅下线通知机制,那优雅下线还会生效吗 [dubbo]
GitHub user fcabbage created a discussion: [Q/A][Java SDK (优雅下线相关)] 请问为啥Dubbo3使用triple协议,没有类似dubbo协议时的优雅下线通知机制,那优雅下线还会生效吗
### Pre-check
- [ ] I am sure that all the content I provide is in English.
### Apache Dubbo Component
Java SDK (apache/dubbo)
### Details
Dubbo协议具体的优雅下线类是这个:org.apache.dubbo.rpc.protocol.dubbo.DubboGracefulShutdown,实现的接口是org.apache.dubbo.rpc.GracefulShutdown;
### Code of Conduct
- [ ] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
GitHub link: https://github.com/apache/dubbo/discussions/15847
----
This is an automatically sent email for notifications@dubbo.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@dubbo.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
Re: [D] [Q/A][Java SDK (优雅下线相关)] 请问为啥Dubbo3使用triple协议,没有类似dubbo协议时的优雅下线通知机制,那优雅下线还会生效吗 [dubbo]
Posted by "fcabbage (via GitHub)" <gi...@apache.org>.
GitHub user fcabbage closed a discussion: [Q/A][Java SDK (优雅下线相关)] 请问为啥Dubbo3使用triple协议,没有类似dubbo协议时的优雅下线通知机制,那优雅下线还会生效吗
### Pre-check
- [ ] I am sure that all the content I provide is in English.
### Apache Dubbo Component
Java SDK (apache/dubbo)
### Details
Dubbo协议具体的优雅下线类是这个:org.apache.dubbo.rpc.protocol.dubbo.DubboGracefulShutdown,实现的接口是org.apache.dubbo.rpc.GracefulShutdown。它在offline之前,会主动发送**只读**事件给channel;
使用Triple协议时,我找不到相关的类,希望社区有同学知道这是为啥;
### Code of Conduct
- [ ] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
GitHub link: https://github.com/apache/dubbo/discussions/15847
----
This is an automatically sent email for notifications@dubbo.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@dubbo.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
Re: [D] [Q/A][Java SDK (优雅下线相关)] 请问为啥Dubbo3使用triple协议,没有类似dubbo协议时的优雅下线通知机制,那优雅下线还会生效吗 [dubbo]
Posted by "fcabbage (via GitHub)" <gi...@apache.org>.
GitHub user fcabbage edited a discussion: [Q/A][Java SDK (优雅下线相关)] 请问为啥Dubbo3使用triple协议,没有类似dubbo协议时的优雅下线通知机制,那优雅下线还会生效吗
### Pre-check
- [ ] I am sure that all the content I provide is in English.
### Apache Dubbo Component
Java SDK (apache/dubbo)
### Details
Dubbo协议具体的优雅下线类是这个:org.apache.dubbo.rpc.protocol.dubbo.DubboGracefulShutdown,实现的接口是org.apache.dubbo.rpc.GracefulShutdown。它在offline之前,会主动发送**只读**事件给channel;
使用Triple协议时,我找不到相关的类,希望社区有同学知道这是为啥;
### Code of Conduct
- [ ] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
GitHub link: https://github.com/apache/dubbo/discussions/15847
----
This is an automatically sent email for notifications@dubbo.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@dubbo.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
Re: [D] [Q/A][Java SDK (优雅下线相关)] 请问为啥Dubbo3使用triple协议,没有类似dubbo协议时的优雅下线通知机制,那优雅下线还会生效吗 [dubbo]
Posted by "fcabbage (via GitHub)" <gi...@apache.org>.
GitHub user fcabbage edited a discussion: [Q/A][Java SDK (优雅下线相关)] 请问为啥Dubbo3使用triple协议,没有类似dubbo协议时的优雅下线通知机制,那优雅下线还会生效吗
### Pre-check
- [ ] I am sure that all the content I provide is in English.
### Apache Dubbo Component
Java SDK (apache/dubbo)
### Details
Dubbo协议具体的优雅下线类是这个:org.apache.dubbo.rpc.protocol.dubbo.DubboGracefulShutdown,实现的接口是org.apache.dubbo.rpc.GracefulShutdown;
### Code of Conduct
- [ ] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
GitHub link: https://github.com/apache/dubbo/discussions/15847
----
This is an automatically sent email for notifications@dubbo.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@dubbo.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
Re: [D] [Q/A][Java SDK (优雅下线相关)] 请问为啥Dubbo3使用triple协议,没有类似dubbo协议时的优雅下线通知机制,那优雅下线还会生效吗 [dubbo]
Posted by "EarthChen (via GitHub)" <gi...@apache.org>.
GitHub user EarthChen added a comment to the discussion: [Q/A][Java SDK (优雅下线相关)] 请问为啥Dubbo3使用triple协议,没有类似dubbo协议时的优雅下线通知机制,那优雅下线还会生效吗
This feature does exist, but the previous implementation logic was different — it was achieved by sending a GOAWAY frame when closing the channel. Now in version 3.3.7, it has been aligned with Dubbo's implementation.
GitHub link: https://github.com/apache/dubbo/discussions/15847#discussioncomment-15473157
----
This is an automatically sent email for notifications@dubbo.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@dubbo.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
Re: [D] [Q/A][Java SDK (优雅下线相关)] 请问为啥Dubbo3使用triple协议,没有类似dubbo协议时的优雅下线通知机制,那优雅下线还会生效吗 [dubbo]
Posted by "EarthChen (via GitHub)" <gi...@apache.org>.
GitHub user EarthChen edited a comment on the discussion: [Q/A][Java SDK (优雅下线相关)] 请问为啥Dubbo3使用triple协议,没有类似dubbo协议时的优雅下线通知机制,那优雅下线还会生效吗
This feature does exist, but the previous implementation logic was different — it was achieved by sending a GOAWAY frame when closing the channel. Now in version 3.3.7, it has been aligned with Dubbo's implementation.https://github.com/apache/dubbo/pull/15926
GitHub link: https://github.com/apache/dubbo/discussions/15847#discussioncomment-15473157
----
This is an automatically sent email for notifications@dubbo.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@dubbo.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org