mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-18 05:50:41 +00:00
* feat: make heartbeat config only in metasrv Signed-off-by: jeremyhi <fengjiachun@gmail.com> * Apply suggestion from @Copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * feat: refine config doc Signed-off-by: jeremyhi <fengjiachun@gmail.com> * feat: make the heartbeat setup simple Signed-off-by: jeremyhi <fengjiachun@gmail.com> * chore: by comment Signed-off-by: jeremyhi <fengjiachun@gmail.com> * chore: revert config Signed-off-by: jeremyhi <fengjiachun@gmail.com> * feat: proto update Signed-off-by: jeremyhi <fengjiachun@gmail.com> * chore: fix sqlness wrong cfg Signed-off-by: jeremyhi <fengjiachun@gmail.com> --------- Signed-off-by: jeremyhi <fengjiachun@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
25 lines
577 B
Plaintext
25 lines
577 B
Plaintext
flush_stats_factor = 1
|
|
heartbeat_interval = "1s"
|
|
{{ if use_etcd }}
|
|
## Store server address default to etcd store.
|
|
store_addrs = [{store_addrs | unescaped}]
|
|
|
|
## The datastore for meta server.
|
|
backend = "EtcdStore"
|
|
{{ endif }}
|
|
[wal]
|
|
{{ if is_raft_engine }}
|
|
provider = "raft_engine"
|
|
{{ else }}
|
|
provider = "kafka"
|
|
broker_endpoints = {kafka_wal_broker_endpoints | unescaped}
|
|
num_topics = 3
|
|
selector_type = "round_robin"
|
|
topic_name_prefix = "distributed_test_greptimedb_wal_topic"
|
|
auto_prune_interval = "30s"
|
|
trigger_flush_threshold = 100
|
|
{{ endif }}
|
|
|
|
[stats_persistence]
|
|
ttl = "0s"
|