A Dubbo application can configure multiple registration centers at different interface dimensions. Multiple registration centers can be used for cluster isolation, migration, and various other scenarios. For a more detailed explanation, refer to the Dubbo Java Multiple Registration Center Documentation.
Specify which registration center a service under a specific server should register to:
Specify which registration center a particular service should register to:
The usage on the client side is similar.
Modify the server configuration at go-server/conf/dubbogo.yaml to register the service in both registration centers.
For example, when using Polaris as a registration center, you need to specify the following content, both via API or YAML configuration file:
For usage with Kubernetes registration centers, please refer to the Control Plane documentation.