mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-04 12:22:55 +00:00
* feat(sqlness): add kafka wal config * chore: add sqlness with kafka wal ci config * fix: fix config * chore: apply suggestions from CR * fix: add metasrv config to sqlness with kafka * fix: replay memtable should from flushed_entry_id + 1 * fix: should set append flag to fopen * feat: start wal allocator in standalone meta mode * feat: append a noop record after kafka topic initialization * test: ignore tests temporally * test: change sqlness kafka wal config
30 lines
529 B
Plaintext
30 lines
529 B
Plaintext
mode = 'standalone'
|
|
enable_memory_catalog = false
|
|
require_lease_before_startup = true
|
|
|
|
[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}'
|
|
|
|
[grpc_options]
|
|
addr = '127.0.0.1:4001'
|
|
runtime_size = 8
|
|
|
|
[procedure]
|
|
max_retry_times = 3
|
|
retry_delay = "500ms"
|