refactor: make latest state optional

This commit is contained in:
lingniu
2026-07-01 07:37:50 +08:00
parent 0987bb4718
commit ba4bb51a07
7 changed files with 39 additions and 5 deletions

View File

@@ -140,6 +140,9 @@ require a separate Redis mileage state.
Module: `vehicle-state-service`
This module is outside the default production reactor. Build it with
`-Poptional-latest-state` when Redis latest-state APIs are explicitly needed.
Responsibilities:
- Consume normalized Kafka envelopes.
@@ -183,6 +186,8 @@ flowchart LR
- Xinda Push is absent from default deployment and history consumer bindings.
- JSATL12 is absent from the default Maven reactor and available through
`optional-attachments`.
- vehicle-state-service is absent from the default Maven reactor and available
through `optional-latest-state`.
- History APIs read from TDengine by default; Parquet/DuckDB is optional
compatibility only.
- Raw frame queries can return complete parsed JSON through `payloadJson.parsed`.