Saramanda9988 commented on code in PR #4031:
URL: https://github.com/apache/hertzbeat/pull/4031#discussion_r2850658367
##########
hertzbeat-startup/src/main/resources/application.yml:
##########
@@ -225,6 +225,38 @@ warehouse:
password: root
expire-time: '30d'
replication: 1
+ doris:
+ enabled: false
+ url: jdbc:mysql://127.0.0.1:9030
+ username: root
+ password:
+ table-config:
+ enable-partition: false
+ partition-time-unit: DAY
+ partition-retention-days: 30
+ partition-future-days: 3
+ buckets: 8
+ replication-num: 1
+ pool-config:
+ minimum-idle: 5
+ maximum-pool-size: 20
+ connection-timeout: 30000
+ write-config:
+ # Write mode: jdbc (default, suitable for small/medium scale) or
stream (high throughput)
+ write-mode: jdbc
Review Comment:
Hi, thanks for your cr, In my opinion,I choose jdbc as default because it
has lower barrier to entry for testing and verification — users can start with
official Docker image and verify connectivity immediately, while stream mode
requires additional network config (HTTP port, redirect-policy) that may
complicate initial setup; maybe we can encourage migration to stream for
production via clearer documentation without making it the default.What do you
think?
--
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]