类型:File
适用模式:Standalone
可配置属性:
| 名称 | 数据类型 | 说明 | 默认值 | 
|---|---|---|---|
| path | String | 元数据存储路径 | .shardingsphere | 
类型:ZooKeeper
适用模式:Cluster
可配置属性:
| 名称 | 数据类型 | 说明 | 默认值 | 
|---|---|---|---|
| retryIntervalMilliseconds | int | 重试间隔毫秒数 | 500 | 
| maxRetries | int | 客户端连接最大重试次数 | 3 | 
| timeToLiveSeconds | int | 临时数据失效的秒数 | 60 | 
| operationTimeoutMilliseconds | int | 客户端操作超时的毫秒数 | 500 | 
| digest | String | 登录认证密码 | 
类型:Etcd
适用模式:Cluster
可配置属性:
| 名称 | 数据类型 | 说明 | 默认值 | 
|---|---|---|---|
| timeToLiveSeconds | long | 临时数据失效的秒数 | 30 | 
| connectionTimeout | long | 连接超时秒数 | 30 | 
