Dynamic Configuration Zookeeper Implementation (#5040)

This commit is contained in:
songzhendong 2020-07-07 09:43:44 +08:00 committed by GitHub
parent 73ee3103e2
commit 6ba9c7f81b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -43,7 +43,6 @@ configuration:
```
## Dynamic Configuration Zookeeper Implementation
[Zookeeper](https://github.com/apache/zookeeper) is also supported as DCC(Dynamic Configuration Center), to use it, please configure as follows:
```yaml
@ -58,6 +57,8 @@ configuration:
maxRetries: ${SW_CONFIG_ZK_MAX_RETRIES:3} # max number of times to retry
```
The **nameSpace** is the ZooKeeper path. The config key and value are the properties of the `namespace` folder.
## Dynamic Configuration Etcd Implementation
[Etcd](https://github.com/etcd-io/etcd) is also supported as DCC(Dynamic Configuration Center), to use it, please configure as follows: