You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "aqqwiyth (GitHub)" <gi...@apache.org> on 2019/04/09 12:04:42 UTC

[GitHub] [incubator-dubbo] aqqwiyth commented on issue #1472: 直连模式参数回调功能抛异常

 直连的模式下客户端无法感知服务端是否开启了callback. 
而使用注册中心的情况下服务端会把方法的callback写入到注册中心里面去, 客户端也会根据参数做自适应

所以直连模式下添加下面的参数可以实现

<dubbo:reference    url="dubbo://127.0.0.1:20880/?addListener.1.callback=true"  .....

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