service_name: activity-service
node_id: activity-docker
environment: local
log:
  level: info
  format: json
  include_request_body: false
  include_response_body: false
  max_payload_bytes: 2048
grpc_addr: ":13006"
health_http_addr: ":13106"
mysql_dsn: "hyapp:hyapp@tcp(mysql:3306)/hyapp_activity?parseTime=true&charset=utf8mb4&loc=UTC"
user_service_addr: "user-service:13005"
wallet_service_addr: "wallet-service:13004"
mysql_auto_migrate: false
tencent_im:
  # Docker 本地联调全局/区域播报群；必须与 gateway/room-service 使用同一组腾讯 IM 应用配置。
  enabled: true
  sdk_app_id: 20036101
  secret_key: "dcdf53135f27e7cf8541c4ae9798fb0cb2f0e4d6c5c20022dbaea053f35cbb8c"
  admin_identifier: "900100100"
  admin_user_sig_ttl: "24h"
  endpoint: "adminapisgp.im.qcloud.com"
  group_type: "ChatRoom"
  request_timeout: "5s"
broadcast:
  enabled: true
  super_gift_min_value: 100000
  worker_poll_interval: "1s"
  worker_batch_size: 100
  worker_lock_ttl: "30s"
  worker_max_retry: 8
  ensure_groups_on_startup: true
consumer:
  room_outbox_poll_interval_ms: 1000
  batch_size: 100
message_inbox:
  unread_cache_ttl: "60s"
