新增 district.paper.statistics.query 客户用纸统计工具(含 ES 7.17 客户端引入) (#23)
This commit was merged in pull request #23.
This commit is contained in:
@@ -36,6 +36,14 @@ app:
|
||||
jdbc-url: jdbc:mysql://192.168.1.181:3306/xiaoqu_agent_svc_d?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
||||
username: root
|
||||
password: kaixinjiuhao
|
||||
# ES 双集群(老 dev 值):cloud=云集群、local=本地化集群;无账号
|
||||
es:
|
||||
cloud:
|
||||
hosts: 192.168.1.152
|
||||
port: 9200
|
||||
local:
|
||||
hosts: 127.0.0.1
|
||||
port: 9200
|
||||
|
||||
spring:
|
||||
data:
|
||||
|
||||
@@ -27,6 +27,18 @@ app:
|
||||
jdbc-url: ${SVC_DB_SVC_URL}
|
||||
username: ${SVC_DB_SVC_USER}
|
||||
password: ${SVC_DB_SVC_PASSWORD}
|
||||
# ES 双集群:cloud=云集群、local=本地化集群(hosts 支持逗号多节点)
|
||||
es:
|
||||
cloud:
|
||||
hosts: ${SVC_ES_CLOUD_HOSTS}
|
||||
port: ${SVC_ES_CLOUD_PORT:9200}
|
||||
username: ${SVC_ES_CLOUD_USERNAME:}
|
||||
password: ${SVC_ES_CLOUD_PASSWORD:}
|
||||
local:
|
||||
hosts: ${SVC_ES_LOCAL_HOSTS}
|
||||
port: ${SVC_ES_LOCAL_PORT:9200}
|
||||
username: ${SVC_ES_LOCAL_USERNAME:}
|
||||
password: ${SVC_ES_LOCAL_PASSWORD:}
|
||||
|
||||
spring:
|
||||
data:
|
||||
|
||||
@@ -32,6 +32,19 @@ app:
|
||||
rate-limit:
|
||||
query-per-minute: ${QUERY_RATE_LIMIT_PER_MINUTE:600}
|
||||
sync-per-minute: ${SYNC_RATE_LIMIT_PER_MINUTE:120}
|
||||
# 双集群 ES(paperuselog 换纸记录):cloud=云集群、local=本地化集群;
|
||||
# hosts 支持逗号多节点,username 为空 = 不设认证;各环境在 application-{env}.yml 覆盖
|
||||
es:
|
||||
cloud:
|
||||
hosts: ${SVC_ES_CLOUD_HOSTS:}
|
||||
port: ${SVC_ES_CLOUD_PORT:9200}
|
||||
username: ${SVC_ES_CLOUD_USERNAME:}
|
||||
password: ${SVC_ES_CLOUD_PASSWORD:}
|
||||
local:
|
||||
hosts: ${SVC_ES_LOCAL_HOSTS:}
|
||||
port: ${SVC_ES_LOCAL_PORT:9200}
|
||||
username: ${SVC_ES_LOCAL_USERNAME:}
|
||||
password: ${SVC_ES_LOCAL_PASSWORD:}
|
||||
|
||||
spring:
|
||||
application:
|
||||
|
||||
Reference in New Issue
Block a user