v2.0.0-beta5

配置文件及日志细节优化
This commit is contained in:
xpc 2024-01-23 23:32:59 +08:00
parent 2298dac969
commit da96ba5708
2 changed files with 2 additions and 1 deletions

View File

@ -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);
}

View File

@ -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: '若无可去掉此行'