apiVersion: v1
kind: ConfigMap
metadata:
  name: cm-distribution-service
data:
  # Server Configuration
  SERVER_PORT: "8085"

  # Database Configuration
  DB_HOST: "distribution-postgresql"
  DB_PORT: "5432"
  DB_NAME: "distributiondb"
  DB_USERNAME: "eventuser"

  # Kafka Configuration
  KAFKA_ENABLED: "true"
  KAFKA_CONSUMER_GROUP: "distribution-service"

  # External Channel APIs
  URIDONGNETV_API_URL: "http://localhost:9001/api/uridongnetv"
  RINGOBIZ_API_URL: "http://localhost:9002/api/ringobiz"
  GINITV_API_URL: "http://localhost:9003/api/ginitv"
  INSTAGRAM_API_URL: "http://localhost:9004/api/instagram"
  NAVER_API_URL: "http://localhost:9005/api/naver"
  KAKAO_API_URL: "http://localhost:9006/api/kakao"

  # Logging Configuration
  LOG_FILE: "logs/distribution-service.log"
