feat: 新增mongodb和rabbitmq依赖和配置

This commit is contained in:
2026-08-05 23:58:47 +08:00
parent e5fb30aec6
commit 1066f909ab
8 changed files with 56 additions and 2 deletions
@@ -33,6 +33,22 @@ spring:
max-idle: 8
min-idle: 0
max-wait: -1ms
mongodb:
# host/uri 见各环境;这里只放公共行为
auto-index-creation: false
rabbitmq:
# host/账号见各环境
port: 5672
virtual-host: /
publisher-confirm-type: correlated
publisher-returns: true
template:
mandatory: true
listener:
simple:
acknowledge-mode: auto
prefetch: 10
default-requeue-rejected: false
# 订单统计读模型(汇总表已删,待重构前关闭写入与 miss 补算)