fix configmap Kafka env var keys to match app code

App code reads KAFKA_BOOTSTRAP_SERVERS (all services), but configmaps
had KAFKA_BROKER (data) and EXECUTE_KAFKA_BOOTSTRAP_SERVERS (execute).
Services silently fell through to hardcoded defaults — Kafka unreachable.

- data-service: KAFKA_BROKER -> KAFKA_BOOTSTRAP_SERVERS
- execute-service: EXECUTE_KAFKA_BOOTSTRAP_SERVERS -> KAFKA_BOOTSTRAP_SERVERS
This commit is contained in:
Hermes Agent 2026-05-25 23:40:15 +00:00
parent 691d7c68e7
commit 32a855c457
2 changed files with 2 additions and 2 deletions

View file

@ -9,5 +9,5 @@ data:
DB_NAME: "trading_data"
REDIS_HOST: "trading-redis.customer1.svc.cluster.local"
REDIS_PORT: "6379"
KAFKA_BROKER: "trading-kafka.customer1.svc.cluster.local:9092"
KAFKA_BOOTSTRAP_SERVERS: "trading-kafka.customer1.svc.cluster.local:9092"
LOG_LEVEL: "info"

View file

@ -9,5 +9,5 @@ data:
EXECUTE_DB_NAME: "trading_data"
EXECUTE_REDIS_HOST: "trading-redis.customer1.svc.cluster.local"
EXECUTE_REDIS_PORT: "6379"
EXECUTE_KAFKA_BOOTSTRAP_SERVERS: "trading-kafka.customer1.svc.cluster.local:9092"
KAFKA_BOOTSTRAP_SERVERS: "trading-kafka.customer1.svc.cluster.local:9092"
EXECUTE_LOG_LEVEL: "info"