feat: replace iot adapter with mqtt command pipeline

This commit is contained in:
2026-08-03 13:18:11 +08:00
parent 6ed417c8c1
commit fefdba470a
48 changed files with 1620 additions and 338 deletions

View File

@@ -1,3 +1,3 @@
# Platform Worker
# Worker
独立 Worker 进程沿用仓库统一的 BSM 配置与基础设施创建方式。首期只提供 Mock 事件循环,真实 Redis Streams 消费将在 Outbox、死信、幂等消费与积压监控契约确定后接入
独立 Worker 负责支付超时任务,并通过 API 的锁定认领接口投递 IoT Outbox。数据库事实仍由 API 维护Worker 不复制同步领域事务;后续可在保持 Outbox 状态契约的前提下用 Redis Streams 唤醒替代短轮询