Dubbo can bypass the registration center and directly connect to the specified service address by specifying Url

 

 

The development and test environments can bypass the registration center and directly connect to the specified service address by specifying Url, avoiding too many services in the registration center and long time to start the connection establishment.

 

  1. <dubbo:referenceid="pService"  
  2. interface="org.jstudioframework.dubbo.service.PService" 
  3. url="dubbo://127.0.0.1:20014"/>  

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326074636&siteId=291194637