feat: 优化拼多多同步,提高并发能力

This commit is contained in:
2026-08-13 13:44:15 +08:00
parent 9af2efaf31
commit 3d03be082a
16 changed files with 600 additions and 67 deletions
@@ -54,7 +54,8 @@ spring:
listener:
simple:
acknowledge-mode: auto
prefetch: 10
# 与全量/增量 listener concurrency 同量级,避免长任务预取过多
prefetch: 4
default-requeue-rejected: false
# 订单统计读模型(汇总表已删,待重构前关闭写入与 miss 补算)
@@ -53,3 +53,8 @@ pdd:
incremental-job-enabled: true
incremental-cron: "0 */5 * * * ?"
full-task-enabled: true
# 同店全量按天并行上限(受单店 POP 限流约束)
max-parallel-days-per-shop: 2
# Rabbit 消费者并发(多店并行)
full-listener-concurrency: "2-4"
inc-listener-concurrency: "2-4"