dubbo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From haiyang1985 (GitHub) <git...@apache.org>
Subject [GitHub] [incubator-dubbo] haiyang1985 commented on issue #3650: Dubbo 2.7.0的provider无法指定客户端默认async
Date Thu, 14 Mar 2019 14:01:22 GMT
Provider 2.5.x, consumer 2.5.x, provider specific async, consumer keeps default. 
<dubbo:service interface="..." async="true">
<dubbo:reference interface="...">

For consumer, they have to get value from RpcContext.
client.sayHello() returns null.
RpcContext.getContext.getFuture() returns value.

Provider 2.7.0, consumer 2.5.x, provider speicif async, consumer keeps default.
<dubbo:service interface="..." async="true">
<dubbo:reference interface="...">

For consumer, the value form RpcContext is null, this is incompatible.
client.sayHello() returns value.
RpcContext.getContext.getFuture() returns null.



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


Mime
View raw message