mirror of
https://gitee.com/dromara/easy-es.git
synced 2025-12-06 17:18:57 +08:00
v2.0.0-beta5
配置文件及日志细节优化
This commit is contained in:
parent
2298dac969
commit
da96ba5708
@ -27,6 +27,7 @@ public class RestHighLevelClientUtils {
|
||||
}
|
||||
RestHighLevelClient restHighLevelClient = restHighLevelClientMap.get(restHighLevelClientId);
|
||||
if (restHighLevelClient == null) {
|
||||
LogUtils.formatError("restHighLevelClientId: %s can not find any data source, please check your config", restHighLevelClientId);
|
||||
ExceptionUtils.eee("找不到RestHighLevelClient,restHighLevelClientId:%s", restHighLevelClientId);
|
||||
|
||||
}
|
||||
|
||||
@ -22,7 +22,7 @@ easy-es:
|
||||
ds1:
|
||||
address: 10.20.64.228:9200 # 数据源1
|
||||
ds2:
|
||||
address: 49.234.28.111:9200 # 数据源2
|
||||
address: 10.18.2.45:9200 # 数据源2
|
||||
#username: '若无可去掉此行'
|
||||
#password: '若无可去掉此行'
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user