docs: clarify ingest and consumer persistence roles

This commit is contained in:
lingniu
2026-07-01 11:45:59 +08:00
parent 77d5aa4ef7
commit 5beb81f8cd
3 changed files with 12 additions and 6 deletions

View File

@@ -176,6 +176,8 @@ class MavenModuleProfileTest {
.contains("command-gateway/ 可选 HTTP → 设备下行命令optional-command-gateway profile")
.contains("vehicle-history-app/ TDengine 历史查询 + RAW JSON")
.contains("vehicle-analytics-app/ JT808 每日里程指标消费")
.contains("协议接入应用只负责收、解析、校验、规整和投递 Kafka")
.contains("`vehicle-analytics-app` 将 JT808 `daily_mileage_km` 写入 MySQL `vehicle_stat_metric`")
.doesNotContain("Spring Boot 3.4")
.doesNotContain("Netty 4.1")
.doesNotContain("HiveMQ MQTT Client")
@@ -185,7 +187,9 @@ class MavenModuleProfileTest {
.doesNotContain("DuckDB")
.doesNotContain("Parquet")
.doesNotContain("Parquet + DuckDB 文件型明细库")
.doesNotContain("车辆状态/日统计消费");
.doesNotContain("车辆状态/日统计消费")
.doesNotContain("本服务不写业务库")
.doesNotContain("里程统计全部由 Kafka 下游消费者实现");
}
@Test
@@ -237,6 +241,8 @@ class MavenModuleProfileTest {
.contains("JSATL12 仅保留在 `optional-attachments` profile")
.contains("vehicle-state-service 仅保留在 `optional-latest-state` profile")
.contains("raw-archive-store 仅保留在 `optional-raw-archive-store` profile")
.contains("协议接入应用不直接写业务库")
.contains("`vehicle-analytics-app` 写入 MySQL `vehicle_stat_metric`")
.doesNotContain("event-file-store")
.doesNotContain("optional-event-file-store")
.doesNotContain("## ADR-004 信达 Push保留模块但彻底重写\n- **Status**: Accepted")