You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/08/06 15:52:59 UTC

[GitHub] [dubbo] startjava opened a new issue #8437: 在一个项目中针对同一个接口使用不同的容错策略,到底使用哪一个?

startjava opened a new issue #8437:
URL: https://github.com/apache/dubbo/issues/8437


       @DubboReference(cluster = ClusterRules.FORKING)
       private IService1 service1;
   
       @DubboReference(cluster = ClusterRules.FAIL_OVER)
       private IService1 service2;
   
   比如上面代码,是每个对象有自己的策略,还是两者使用最先声明的,或是两者使用最后声明的,感谢。


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] BazookaW commented on issue #8437: 在一个项目中针对同一个接口使用不同的容错策略,到底使用哪一个?

Posted by GitBox <gi...@apache.org>.
BazookaW commented on issue #8437:
URL: https://github.com/apache/dubbo/issues/8437#issuecomment-898306984


   @startjava 我觉得还是要按照业务场景来选择不同的容错策略,这是我之前整理的表格,希望可以帮到你。
   
   ![image](https://user-images.githubusercontent.com/17539174/129333219-371d40ea-bce7-4f22-9ea0-4efd4e5fb24b.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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] startjava closed issue #8437: 在一个项目中针对同一个接口使用不同的容错策略,到底使用哪一个?

Posted by GitBox <gi...@apache.org>.
startjava closed issue #8437:
URL: https://github.com/apache/dubbo/issues/8437


   


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] tanoak10 commented on issue #8437: 在一个项目中针对同一个接口使用不同的容错策略,到底使用哪一个?

Posted by GitBox <gi...@apache.org>.
tanoak10 commented on issue #8437:
URL: https://github.com/apache/dubbo/issues/8437#issuecomment-894898950


   run demo ,Get the answer


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] startjava commented on issue #8437: 在一个项目中针对同一个接口使用不同的容错策略,到底使用哪一个?

Posted by GitBox <gi...@apache.org>.
startjava commented on issue #8437:
URL: https://github.com/apache/dubbo/issues/8437#issuecomment-899070827


   @tanoak10 我用注解@Bean解决的,,,比较标准,,,,,感谢。
   @BazookaW 非常感谢,保存了。


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org