You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "cvictory (GitHub)" <gi...@apache.org> on 2020/02/05 07:51:12 UTC

[GitHub] [dubbo] cvictory commented on issue #4580: Consumer onconnect, ondisconnect is not working

从实现角度来看,provider和consumer的连接断开都应该可以增加一定的事件。
但是现在onconnect的配置是和接口绑定在一起,在后续的链路中会去找这个接口的对应实现。 consumer端是没有实现的,所以功能上暂时不能支持。

如果要在consumer端支持,应该需要调用一个独立的类和方法来完成。 暂时不建议增加。

----

From an implementation perspective, the disconnection between the provider and the consumer should be able to increase certain events.
But now the configuration of onconnect is bound to the interface, and the corresponding implementation of this interface will be found in subsequent links. The consumer side is not implemented, so it cannot be supported temporarily.

If you want to support it on the consumer side, you should call a separate class and method to complete it. It is not recommended to increase for the time being.

[ Full content available at: https://github.com/apache/dubbo/issues/4580 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org