Dynamic Configuration Zookeeper Implementation (#5040)
This commit is contained in:
parent
73ee3103e2
commit
6ba9c7f81b
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue