refactor: make event file store optional
This commit is contained in:
@@ -99,3 +99,12 @@
|
||||
2. raw-archive-store 仅保留在 `optional-raw-archive-store` profile,需要验证本地读写原型时显式构建。
|
||||
3. 默认生产链路继续以 `sink-archive`、Kafka raw topic、TDengine raw_frames 为准。
|
||||
- **Consequences**: 默认构建少一个未部署模块;本地 raw archive 原型仍可通过 `-Poptional-raw-archive-store` 保留和验证。
|
||||
|
||||
## ADR-015 event-file-store 兼容索引:Optional only
|
||||
- **Status**: Accepted
|
||||
- **Context**: 默认历史查询已收敛到 TDengine `raw_frames`、`vehicle_locations` 和按需解码;旧 Parquet/DuckDB `event-file-store` 只保留为兼容索引实现,不应把 DuckDB/Parquet 路径拖进默认生产 reactor。
|
||||
- **Decision**:
|
||||
1. `event-file-store` 不进入默认 Maven reactor。
|
||||
2. event-file-store 仅保留在 `optional-event-file-store` profile,需要兼容排查旧索引时显式构建。
|
||||
3. `EventFileStore`、`EventFileRecord`、`EventFileQuery` 轻量契约归属 `ingest-api`,history 服务只依赖契约,不依赖兼容实现。
|
||||
- **Consequences**: 默认构建面少一个 DuckDB/Parquet 兼容模块;旧索引实现仍可通过 `-Poptional-event-file-store` 单独验证。
|
||||
|
||||
Reference in New Issue
Block a user