xlq20080808 opened a new issue, #10145:
URL: https://github.com/apache/dubbo/issues/10145

   <!-- If you need to report a security issue please visit 
https://github.com/apache/dubbo/security/policy -->
   
   - [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) 
of this repository and believe that this is not a duplicate.
   
   ## Ask your question here
   **配置**
   `    @Bean
       @DubboReference(url = "${spring.application.url:}", cluster = "failfast")
       public ReferenceBean<DemoService> demoService() {
           return new ReferenceBean<>();
       }`
   
   `    @Resource
       private DemoService demoService;
   
       @GetMapping(value = "/")
       public String hello() throws Exception {
           log.info("recv a hello request");
           try {
               return demoService.sayHello();
           } catch (Exception e){
               log.error("",e);
               throw e;
           }
       }`
   
   **现象**
   指定为cluster=failfast,url中已经写入,但仍是FailoverClusterInvoker执行
   尝试使用yaml配置,仍无效
   尝试使用3.0.4,仍无效
   尝试配置为其他容错方式,仍使用FailoverClusterInvoker
   debug:
   <img width="1288" alt="image" 
src="https://user-images.githubusercontent.com/33999699/173279174-e18216d4-d5d2-4114-81b5-5b7ff7f2ae8d.png";>
   url:
   <img width="745" alt="image" 
src="https://user-images.githubusercontent.com/33999699/173279305-76863deb-f4fa-49a2-b157-ddfb6725ebe1.png";>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to