You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2020/03/26 12:34:14 UTC
[GitHub] [servicecomb-java-chassis] heyile edited a comment on issue #1660:
[SCB-1815] Support sdk register on local SC and discover on SCA
heyile edited a comment on issue #1660: [SCB-1815] Support sdk register on local SC and discover on SCA
URL: https://github.com/apache/servicecomb-java-chassis/pull/1660#issuecomment-603212274
**modify as bellow** :
Support sdk register on local SC and discover on SCA #
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 as the sca to be discovered.
2. the registry address and discovery address must be all http or all https
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services