Dubbo supports the same service to register multiple registries, or different services were registered to different registries, or even reference the same name service from different registries. In addition, the registry supports custom extensions 1。
For example: Alibaba some services are not deployed in Qingdao, only deployed in Hangzhou. While other applications in Qingdao need to reference this service, you can register your services to both registries at the same time.
For example: Some CRM services are specifically designed for international stations, and some services are specifically designed for Chinese stations.
For example: CRM needs to call the PC2 service of Chinese station and international station at the same time. PC2 is deployed in both Chinese station and international station. The interfaces and version numbers are the same, but the database used is different.
When testing, the service needs to be temporarily register to two registries, which can use vertical signs to separate multiple different registry addresses:
custom registry, see:registry extension ↩︎