mirror of
https://github.com/didi/KnowStreaming.git
synced 2025-12-24 11:52:08 +08:00
application.yml文件中增加ES用户名密码的配置项
This commit is contained in:
@@ -84,7 +84,8 @@ client-pool:
|
|||||||
es:
|
es:
|
||||||
client:
|
client:
|
||||||
address: 127.0.0.1:8091,127.0.0.1:8061,127.0.0.1:8061
|
address: 127.0.0.1:8091,127.0.0.1:8061,127.0.0.1:8061
|
||||||
client-cnt: 10
|
pass: # ES账号密码,如果有账号密码,按照 username:password 的格式填写,没有则不需要填写
|
||||||
|
client-cnt: 10 # 创建的ES客户端数
|
||||||
io-thread-cnt: 2
|
io-thread-cnt: 2
|
||||||
max-retry-cnt: 5
|
max-retry-cnt: 5
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user