在dubbo-spring-boot-starter这个项目中设置消费者调用生产者超时重试次数的解决方法有以下两种(经测试)。 1)通过设置消费端的yml或properties中的dubbo.consumer.retries的值为项目中所有调用生产者API设置重试次数。 2)通过在生产端中的某个需要设置retries的@Reference注解中设置@Reference(version = "0.0.1", retries = -1)来限制该对外暴露的API消费者调用超时时的重试次数。
[ Full content available at: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/297 ] This message was relayed via gitbox.apache.org for [email protected]
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
