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 2022/12/20 08:17:55 UTC

[GitHub] [dubbo-spi-extensions] wxbty opened a new issue, #185: Expect specify-address to support calling remote directly

wxbty opened a new issue, #185:
URL: https://github.com/apache/dubbo-spi-extensions/issues/185

   Now specify-address supports switching ip during dubbo call, the premise here is that the provider of the local cluster is available. 
   
   I hope that the switch ip function can be done without any prerequisites, such as calling the remote service directly as follows.
   
   
   ```java
   //The current zk cluster does not have a corresponding provider available
   @DubboReference(check = false)
   private GameService gameService;
   
       public String play() {
           UserSpecifiedAddressUtil.setAddress(new Address("127.0.0.1", 20885, true));
           return gameService.play("feiguohai");
       }
   ```
   


-- 
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.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-spi-extensions] wxbty closed issue #185: Expect specify-address to support calling remote directly

Posted by GitBox <gi...@apache.org>.
wxbty closed issue #185: Expect specify-address  to support calling remote directly 
URL: https://github.com/apache/dubbo-spi-extensions/issues/185


-- 
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