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-unsubscr...@dubbo.apache.org.apache.org

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


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

Reply via email to