aiai-bot commented on issue #3954:
URL: https://github.com/apache/hertzbeat/issues/3954#issuecomment-3744177280

   <!-- code-pr-reviewer -->
   Thanks for the feature request! HertzBeat currently supports 8 time-series 
databases in the `hertzbeat-warehouse` module (VictoriaMetrics, GreptimeDB, 
IoTDB, InfluxDB, TDengine, QuestDB, DuckDB) but lacks Apache Doris 
implementation. This is a valid feature gap.
   
   **Current state:**
   - 
`hertzbeat-warehouse/src/main/java/org/apache/hertzbeat/warehouse/store/history/tsdb/`
 has existing implementations that all extend `AbstractHistoryDataStorage` and 
implement `HistoryDataWriter`/`HistoryDataReader` interfaces
   - Each backend uses `@ConditionalOnProperty` for conditional assembly (e.g., 
`warehouse.store.greptime.enabled`)
   - `hertzbeat-warehouse/pom.xml` has no Doris-related dependencies
   
   **Suggested approach:**
   1. Create `doris/DorisDataStorage.java` (extend 
`AbstractHistoryDataStorage`, implement write via Stream Load, read via MySQL 
JDBC)
   2. Create `doris/DorisProperties.java` for configuration (JDBC URL, Stream 
Load URL, credentials)
   3. Add MySQL JDBC driver to `hertzbeat-warehouse/pom.xml`
   4. Configure `warehouse.store.doris.enabled=true` in `application.yml`
   
   **Questions before implementation:**
   1. Minimum Doris version required (affects table DDL, partition/TTL, Stream 
Load compatibility)?
   2. Should TTL use Doris native `data_tiering_ttl`/partition TTL or 
application-layer cleanup?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to