mode = 'standalone'
enable_memory_catalog = false
require_lease_before_startup = true

[[region_engine]]
[region_engine.mito]
{{ if enable_flat_format }}
default_experimental_flat_format = true
{{ endif }}

[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}
{{ endif }}

[storage]
type = 'File'
data_home = '{data_home}'

[grpc]
bind_addr = '{grpc_addr}'
runtime_size = 8

[mysql]
enable = true
addr = "{mysql_addr}"
runtime_size = 2
prepared_stmt_cache_size= 10000

[mysql.tls]
mode = "disable"

[postgres]
enable = true
addr = "{postgres_addr}"
runtime_size = 2

[procedure]
max_retry_times = 3
retry_delay = "500ms"
