docs: clarify kafka-only production channel
This commit is contained in:
@@ -170,6 +170,7 @@ class MavenModuleProfileTest {
|
||||
.contains("Netty " + projectProperty(pom, "netty.version"))
|
||||
.contains("Eclipse Paho " + projectProperty(pom, "paho-mqtt.version"))
|
||||
.contains("session-core/ 设备会话 + 鉴权 + Token + Redis SessionStore")
|
||||
.contains("| 事件流 | **Kafka**(唯一生产消息通道,vin 分区,保证单车有序) |")
|
||||
.contains("protocol-jt1078/ JT/T 1078(optional-command-gateway profile")
|
||||
.contains("protocol-jsatl12/ 苏标主动安全报警附件(optional-attachments profile)")
|
||||
.contains("vehicle-state-service/ Kafka 全字段事件消费 + Redis 热状态查询(optional-latest-state profile)")
|
||||
@@ -177,6 +178,7 @@ class MavenModuleProfileTest {
|
||||
.contains("vehicle-history-app/ TDengine 历史查询 + RAW JSON")
|
||||
.contains("vehicle-analytics-app/ JT808 每日里程指标消费")
|
||||
.contains("协议接入应用只负责收、解析、校验、规整和投递 Kafka")
|
||||
.contains("生产链路不提供 RabbitMQ、RocketMQ 或其他 MQ 后端")
|
||||
.contains("`vehicle-analytics-app` 将 JT808 `daily_mileage_km` 写入 MySQL `vehicle_stat_metric`")
|
||||
.doesNotContain("Spring Boot 3.4")
|
||||
.doesNotContain("Netty 4.1")
|
||||
@@ -189,7 +191,8 @@ class MavenModuleProfileTest {
|
||||
.doesNotContain("Parquet + DuckDB 文件型明细库")
|
||||
.doesNotContain("车辆状态/日统计消费")
|
||||
.doesNotContain("本服务不写业务库")
|
||||
.doesNotContain("里程统计全部由 Kafka 下游消费者实现");
|
||||
.doesNotContain("里程统计全部由 Kafka 下游消费者实现")
|
||||
.doesNotContain("| 消息队列 |");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
@@ -111,6 +111,18 @@ class PortainerComposeResourceLimitsTest {
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
void tdengineVerificationRunbookChecksLivenessAndReadinessForManagedApps() throws IOException {
|
||||
String runbook = Files.readString(repositoryRoot()
|
||||
.resolve("docs/operations/vehicle-ingest-tdengine-verification.md"));
|
||||
|
||||
for (String httpPort : List.of("20100", "20400", "20200")) {
|
||||
assertThat(runbook)
|
||||
.contains("curl -sS http://127.0.0.1:" + httpPort + "/actuator/health/liveness")
|
||||
.contains("curl -sS http://127.0.0.1:" + httpPort + "/actuator/health/readiness");
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
void dockerEntrypointExecsJavaForSignalHandling() throws IOException {
|
||||
String dockerfile = Files.readString(repositoryRoot().resolve("Dockerfile"));
|
||||
|
||||
Reference in New Issue
Block a user