heyile edited a comment on issue #1660: [SCB-1815] Support sdk use different 
address to registry and discover…
URL: 
https://github.com/apache/servicecomb-java-chassis/pull/1660#issuecomment-603212274
 
 
   **modify as bellow**  :
   
   * support use different address to register and discover
   
   we prefer to use  **servicecomb.service.registry.registrator.address** and 
**servicecomb.service.registry.serviceDiscovery.address**. 
   
   either of them does not exist, we will use 
   **servicecomb.service.registry.address** as default
   
   ```yaml
   
   # keep same with go chassis
   # 
   servicecomb:
     service:
       registry:
         address: xxx:30100,xxx:30100
         registrator:
           # registry 
           address: xxx:3100,xxx:30100
         serviceDiscovery:
           # discovery
           address: xxx:3100,xxx:30100
   ```
   
   There are some restrictions as follows:
   
   1. The target  sc  to be  registered must be in the same cluster with the 
sca to be discovered.
   
   2. The sca to be watched must be in the same cluster with the sc to be 
registered.
   
   
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to