参数配置说明
全部配置
参数名称 |
是否必选 |
参数类型 |
取值范围 |
描述 |
---|---|---|---|---|
devspore.css.etcd |
否 |
参考MAS-DB-SDK |
- |
- |
devspore.css.prop |
否 |
参考MAS-DB-SDK |
- |
- |
devspore.css.esservers |
是 |
Map<String, ElasticSearchServerConfiguration> |
- |
es配置信息。 |
devspore.css.active |
是 |
String |
dc1/dc2 |
处于active的es。 |
devspore.css.route-algorithm |
是 |
String |
local-read-write |
路由算法。 |
ElasticSearchServerConfiguration
参数名称 |
是否必选 |
参数类型 |
取值范围 |
描述 |
---|---|---|---|---|
hosts |
是 |
String |
- |
es地址:<ip:port>或<http://ip:port>多个用 “; ”分隔。 |
username |
否 |
String |
- |
es用户名。 |
password |
否 |
String |
- |
es密码。 |
protocol |
否 |
String |
http/https |
协议。 |
supportXPack |
否 |
Boolean |
默认false |
是否支持XPack验证。 |
skipCertificateValid |
否 |
Boolean |
默认false |
是否跳过证书验证。 |
certificatePath |
否 |
String |
- |
证书地址。 |
certificatePassword |
否 |
String |
- |
证书密码。 |