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
13 lines
387 B
YAML
13 lines
387 B
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: trading-data-service-config
|
|
namespace: customer1
|
|
data:
|
|
DB_HOST: "siriusdevops-pgdb-rw.customer1.svc.cluster.local"
|
|
DB_PORT: "5432"
|
|
DB_NAME: "trading_data"
|
|
REDIS_HOST: "trading-redis.customer1.svc.cluster.local"
|
|
REDIS_PORT: "6379"
|
|
KAFKA_BOOTSTRAP_SERVERS: "trading-kafka.customer1.svc.cluster.local:9092"
|
|
LOG_LEVEL: "info"
|