同步充电桩数据到JCPP

This commit is contained in:
Guoqs
2026-01-06 10:12:49 +08:00
parent 30ec68abb1
commit 8f9cbc6cf8
6 changed files with 258 additions and 26 deletions

View File

@@ -5,6 +5,14 @@ jsowell:
# JCPP 配置
jcpp:
# 连接超时时间(毫秒)
connect-timeout: 10000
# 读取超时时间(毫秒)
timeout: 30000
# 同步接口连接超时时间(毫秒)
sync-connect-timeout: 10000
# 同步接口读取超时时间(毫秒)- 批量同步需要更长时间
sync-timeout: 120000
rabbitmq:
# 分区数量(与 JCPP 保持一致)
partition-count: 10
@@ -15,8 +23,8 @@ jcpp:
sync:
# JCPP 同步接口地址
api-url: http://localhost:8180/api/sync
# 批量同步大小
batch-size: 100
# 批量同步大小(每批充电桩数量)
batch-size: 500
# 超时时间(毫秒)
timeout: 60000
# 是否启用自动增量同步