0

dubbo version:2.7.14 spring cloud && nacos 2.0.3 for registration center

enter image description here I set dubbo.provider.retries=0 in application.yml, and when it registers to nacos, seems that the configuration is effetive.

enter image description here But when the consumer invoke one of the methods, consumer still retried 3 times(defalut times). So why the configuration is ineffetive confuse me.

If you have some ideas, please tell me, thanks! Sorry for my poor English...

Shuai Jia
  • 11
  • 5

1 Answers1

0

Check configuration of consumer.
https://dubbo.apache.org/zh/docs/v2.7/user/configuration/xml/
Configuration of consumer has a higher priority.

Overrides and Priorities
Take timeout as an example, here is the priorities, from high to low (retries, loadbalance, actives also applies the same rule):
method level,interface level,default/global level
at the same level, consumer has higher priority than provider

shanfeng
  • 503
  • 2
  • 14