Configuration Center
The basic usage and working principle of the Dubbo configuration center
The configuration center (config-center) in Dubbo can undertake two types of responsibilities:
- External configuration: centralized storage of startup configurations (simply understood as external storage of dubbo.properties).
- Storage of traffic governance rules.
Please refer to the specific extension implementations to understand how to enable the configuration center.
It is worth noting that the Dubbo dynamic configuration center defines two different levels of isolation options, namely namespace and group.
- namespace - Configuration namespace, default value
dubbo
. The namespace is typically used for multi-tenant isolation, i.e., logical isolation of different configurations for different users or environments, distinct from physical isolation, as different namespaces still use the same physical cluster. - group - Configuration grouping, default value
dubbo
.group
is typically used to categorize a set of configuration items of the same type/purpose and is an additional layer of isolation for configuration items under thenamespace
.
Refer to Configuration Description - Configuration Item Manual to learn more about configuration items offered by config-center beyond namespace and group.
To be compatible with the 2.6.x version configuration, when using Zookeeper as the registry center, and without explicitly configuring the configuration center, the Dubbo framework will default to using this Zookeeper as the configuration center, but it will only be used for service governance purposes.
Config Center
Basic usage and working principles of the Dubbo Config Center
Zookeeper
Basic usage and working principles of the Zookeeper configuration center.
Nacos
Basic usage and working principles of the Nacos configuration center.
Apollo
The basic usage and working principles of Apollo Configuration Center.
More Implementations of Configuration Center Extensions
More implementations of configuration center extensions, including etcd, consul, etc.
Feedback
Was this page helpful?
Yes No
Last modified September 30, 2024: Update & Translate Overview Docs (#3040) (d37ebceaea7)