apache / dubbo

The java implementation of Apache Dubbo. An RPC and microservice framework.
https://dubbo.apache.org/
Apache License 2.0
40.4k stars 26.41k forks source link

FailoverClusterInvoker不支持异步 #6965

Closed wikiwikiwiki closed 2 years ago

wikiwikiwiki commented 3 years ago

Dubbo version: 2.7.6

FailoverClusterInvoker的实现没有异步调用支持,异步时不起作用,更不用说timeout这样的配置属性了。

xiaoheng1 commented 3 years ago

@wikiwikiwiki 异步调用是在下层做的吧?Cluster 层是负载均衡和集群容错。

wikiwikiwiki commented 3 years ago

@wikiwikiwiki 异步调用是在下层做的吧?Cluster 层是负载均衡和集群容错。

可能是标题让你误解了,是指failovercluster在consumer异步调用时不生效的问题。 现在的情况是,如果配置了failovercluster,consumer进行同步调用,调用失败会进行重试;consumer进行异步调用,这个配置就完全失效了,调用失败不会重试

CrazyHZM commented 2 years ago

Try it with the latest version, if you still have problems, you can reopen the issues.