feat: 二阶段
This commit is contained in:
18
docs/实施方案.md
18
docs/实施方案.md
@@ -535,20 +535,20 @@ notify:
|
||||
| 误报反馈 | `suppressions` 按写入点 / change_types 精细忽略 |
|
||||
| 更多业务场景覆盖 | 考勤、文件下载进度等 |
|
||||
|
||||
### Phase 4 — MQ 消息体结构检测(方案已落地,含 Kafka,开发待启)
|
||||
### Phase 4 — MQ 消息体结构检测(已落地,含 Kafka)
|
||||
|
||||
业务仓同时存在:
|
||||
|
||||
- **RocketMQ**:`RocketMQTemplate.syncSend(topic:tag, dto)` / `RocketMQListener<T>`
|
||||
- **Kafka**:`KafkaTemplate.send(topic, vo|List)` / `@KafkaListener` + `parseObject`
|
||||
- **RocketMQ**:`RocketMQTemplate.syncSend` / `asyncSend` / `MessageBuilder` / `RocketMQListener<T>`
|
||||
- **Kafka**:`KafkaTemplate.send(topic|ProducerRecord, …)` / `@KafkaListener` + `parseObject`
|
||||
|
||||
消息体字段变更会导致积压旧消息反序列化失败,风险模型与 Redis 同类。
|
||||
|
||||
| 任务 | 说明 | 状态 |
|
||||
|------|------|------|
|
||||
| 方案文档 | RocketMQ + Kafka 模式、destination、复用 Schema Diff/企微 | ✅ 见专用文档 |
|
||||
| Phase M1 | RocketMQ syncSend + Kafka send + 骨架通知 + 夹具 | 待启 |
|
||||
| Phase M2/M3 | Listener/parse 补强、更多投递形态、运营 | 待启 |
|
||||
| 方案文档 | RocketMQ + Kafka 模式、destination、复用 Schema Diff/企微 | ✅ |
|
||||
| Phase M1 | RocketMQ sync/async + Kafka send + 骨架通知 + 夹具 | ✅ |
|
||||
| Phase M2 | MessageBuilder / convertAndSend / ProducerRecord / JSON 字符串 + MQ-R | ✅ |
|
||||
|
||||
**专用方案:** [`docs/MQ序列化结构检测方案.md`](./MQ序列化结构检测方案.md)
|
||||
|
||||
@@ -561,6 +561,8 @@ notify:
|
||||
- `SchemaDifferTest`:纯字段路径对比逻辑
|
||||
- `JavaSchemaExtractorTest`:类字段展开、注解、内部类
|
||||
- `RedisWritePointDetectorTest`:各种写入 AST 模式匹配
|
||||
- `MqWritePointDetectorTest`:RocketMQ/Kafka 投递(含 MQ04 MessageBuilder、MQ-K03 ProducerRecord)
|
||||
- `MqReadHintDetectorTest`:MQ-R Listener / parseObject 补强
|
||||
- `RedisKeyResolverTest`:常量、format、拼接推断
|
||||
|
||||
### 11.2 样本夹具测试(fixtures)
|
||||
@@ -574,6 +576,10 @@ notify:
|
||||
| `fixtures/tenant/` | 包装结构变更(TenantVO → CacheEnvelope) |
|
||||
| `fixtures/lock/` | 锁/计数器/token 应被忽略 |
|
||||
| `fixtures/template/` | W04 Template 直写 |
|
||||
| `fixtures/mq/rocket-wallet/` | RocketMQ syncSend(MQ01) |
|
||||
| `fixtures/mq/rocket-im/` | MessageBuilder + asyncSend(MQ04)、convertAndSend(MQ03) |
|
||||
| `fixtures/mq/kafka-patrol/` | Kafka List 根数组(MQ-K01) |
|
||||
| `fixtures/mq/kafka-record/` | ProducerRecord(MQ-K03)、JSON 字符串 send(MQ-K04) |
|
||||
|
||||
### 11.3 端到端测试
|
||||
|
||||
|
||||
Reference in New Issue
Block a user