@@ -10,13 +10,16 @@ broker:
1010 client : 6650
1111 # Admin API
1212 admin : 50051
13+ # Raft inter-node gRPC transport
14+ raft : 7650
1315 # Prometheus metrics exporter
1416 prometheus : 9040
1517
16- # Metadata Store Configuration (etcd)
18+ # Metadata Store Configuration (Raft — embedded, no external dependency)
19+ # node_id is auto-generated on first boot and persisted in {data_dir}/node_id
1720meta_store :
18- host : " etcd "
19- port : 2379
21+ data_dir : " ./danube-data/raft "
22+ # Empty or omitted = single-node cluster (auto-init, zero config).
2023
2124# Namespaces to be created on boot
2225bootstrap_namespaces :
@@ -52,7 +55,7 @@ load_manager:
5255 assignment_strategy : " fair"
5356
5457 # LoadReport Publishing Interval: How often brokers publish load reports (seconds)
55- # - Lower values (5-10s): Faster response, more etcd traffic, better for testing
58+ # - Lower values (5-10s): Faster response, more metadata traffic, better for testing
5659 # - Higher values (30-60s): Less overhead, suitable for stable production clusters
5760 # Default: 30 seconds
5861 load_report_interval_seconds : 30
@@ -156,7 +159,7 @@ wal_cloud:
156159 # Testing: 30s. Production: 300s (5 min). High-durability: 60s (1 min)
157160 interval_seconds : 30
158161
159- # ETCD metadata root prefix (change only for multiple independent clusters)
162+ # Metadata root prefix (change only for multiple independent clusters)
160163 root_prefix : " /danube-data"
161164
162165 # Max cloud object size (MB) - optimal for S3/GCS multipart uploads
@@ -175,14 +178,6 @@ wal_cloud:
175178
176179 # Backend-specific options - see commented examples below
177180
178- # Metadata Store: ETCD for cloud object descriptors and indexes
179- metadata :
180- # ETCD endpoint (should match broker's meta_store for consistency)
181- etcd_endpoint : " 127.0.0.1:2379"
182-
183- # In-memory metadata (testing only, no durability)
184- in_memory : false
185-
186181# Broker policies, that can be overwritten by namespace / topic policies
187182policies :
188183 # Limits the maximum number of producers that can simultaneously publish messages to a specific topic.
0 commit comments