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

  # Database Configuration
  DB_HOST: "event-postgresql"
  DB_PORT: "5432"
  DB_NAME: "eventdb"
  DB_USERNAME: "eventuser"

  # Redis Configuration (service-specific)
  REDIS_DATABASE: "2"

  # Kafka Configuration (service-specific)
  KAFKA_CONSUMER_GROUP: "event-service-consumers"

  # Service URLs
  CONTENT_SERVICE_URL: "http://content-service"
  DISTRIBUTION_SERVICE_URL: "http://distribution-service"

  # Logging Configuration
  LOG_LEVEL: "INFO"
  SQL_LOG_LEVEL: "WARN"
  LOG_FILE: "logs/event-service.log"
