Files
greptimedb/tests/conf/datanode-test.toml.template
Weny Xu 7f307a4cac feat: auto detecting local IP to use as hostname (#5314)
* feat: auto detecting hostname

* chore: update config.md

* chore: bring back hostname

* chore: apply suggestions from CR

* chore: use const

* chore: apply suggesions from CR

* fix: fix sqlness
2025-01-08 12:06:31 +00:00

36 lines
636 B
Plaintext

node_id = 1
mode = 'distributed'
require_lease_before_startup = true
rpc_runtime_size = 8
[wal]
{{ if is_raft_engine }}
provider = "raft_engine"
file_size = '1GB'
purge_interval = '10m'
purge_threshold = '10GB'
read_batch_size = 128
sync_write = false
{{ else }}
provider = "kafka"
broker_endpoints = {kafka_wal_broker_endpoints | unescaped}
linger = "5ms"
{{ endif }}
[storage]
type = 'File'
data_home = '{data_home}'
[meta_client_options]
metasrv_addrs = ['127.0.0.1:29302']
timeout_millis = 3000
connect_timeout_millis = 5000
tcp_nodelay = false
[procedure]
max_retry_times = 3
retry_delay = "500ms"
[heartbeat]
interval = '1s'