Config Center
Basic usage and working principles of the Dubbo Config Center
The Config Center in Dubbo has two main responsibilities:
- Externalized Configuration: Centralized storage for startup configurations (simplified as external storage of dubbo.properties).
- Storage of traffic governance rules.
Please refer to specific extension implementations to learn how to enable the Config 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 usually used for multi-tenant isolation, logically isolating different users, different environments, or completely unrelated sets of configurations, as opposed to physical isolation, where different namespaces still use the same physical cluster. - group - Configuration group, default value
dubbo
. Thegroup
is typically used to classify a set of configuration items of the same type/purpose, providing further isolation of configuration items under thenamespace
.
Refer to Configuration Instructions - Configuration Item Manual for more configuration items available in the config-center beyond namespace and group.
Using the Registry Center as the Default Config Center
When using Zookeeper or Nacos as a registry center without explicitly configuring a config center, the Dubbo framework defaults to using Zookeeper or Nacos as the config center for service governance purposes.
Feedback
Was this page helpful?
Yes No
Last modified September 30, 2024: Update & Translate Overview Docs (#3040) (d37ebceaea7)