wujimin commented on issue #2354:
URL:
https://github.com/apache/servicecomb-java-chassis/issues/2354#issuecomment-822923870
试试zero-config
zero-config支持多种工作模式:
* local
单机模式,没有实例动态发现能力
所有的服务调用,都使用第三方服务机制处理
* multicast
使用UDP多播发送微服务注册信息
适用于所有微服务实例都在同一个子网内的场景
每个微服务实例都相当于是一个服务中心实例
```yaml
servicecomb:
service:
zero-config:
enable: true
mode: multicast
heartbeat:
interval: 30s
lost-times: 3
pull-interval: 3s
multicast:
address: 0.0.0.0:6666
group: 225.6.7.8
```
--
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]