fix(docker): provision durable topics and canonical ClickHouse schema
This commit is contained in:
17
.env.example
17
.env.example
@@ -4,7 +4,8 @@
|
||||
API_HOST=0.0.0.0
|
||||
API_PORT=8000
|
||||
API_QUEUE_MAX_SIZE=10000
|
||||
WORKER_STATS_URL=http://worker:8001/internal/stats
|
||||
# Optional override; Compose otherwise derives this from WORKER_STATS_PORT.
|
||||
# WORKER_STATS_URL=http://worker:8001/internal/stats
|
||||
|
||||
# ==========================================
|
||||
# Processing Worker Configuration
|
||||
@@ -16,7 +17,7 @@ WORKER_STATS_PORT=8001
|
||||
# ==========================================
|
||||
# Kafka / Redpanda Broker Configuration
|
||||
# ==========================================
|
||||
KAFKA_BOOTSTRAP_SERVERS=kafka:9092
|
||||
KAFKA_BOOTSTRAP_SERVERS=redpanda:29092
|
||||
KAFKA_RAW_TOPIC=cdr.raw
|
||||
KAFKA_DLQ_TOPIC=cdr.raw.dlq
|
||||
KAFKA_CONSUMER_GROUP=cdr-processing-group
|
||||
@@ -26,6 +27,7 @@ KAFKA_AUTO_OFFSET_RESET=earliest
|
||||
# ClickHouse Database Configuration
|
||||
# ==========================================
|
||||
CLICKHOUSE_HOST=clickhouse
|
||||
# Published host HTTP port. Compose services always use clickhouse:8123.
|
||||
CLICKHOUSE_PORT=8123
|
||||
CLICKHOUSE_USER=default
|
||||
CLICKHOUSE_PASSWORD=
|
||||
@@ -49,3 +51,14 @@ CH_RETRY_BACKOFF_FACTOR=2.0
|
||||
# Observability & Logging
|
||||
# ==========================================
|
||||
LOG_LEVEL=INFO
|
||||
|
||||
# Delivery and HTTP limits
|
||||
KAFKA_DELIVERY_TIMEOUT_SECONDS=10
|
||||
API_MAX_BODY_BYTES=65536
|
||||
API_READ_TIMEOUT_SECONDS=10
|
||||
SHUTDOWN_TIMEOUT_SECONDS=45
|
||||
# Published infrastructure ports
|
||||
KAFKA_PORT=9092
|
||||
KAFKA_ADVERTISED_HOST=localhost
|
||||
REDPANDA_ADMIN_PORT=9644
|
||||
CLICKHOUSE_NATIVE_PORT=9000
|
||||
|
||||
Reference in New Issue
Block a user