Files
msgexchange-v2/.env.example
T
windyboyandCursor 2fb9e76919 docs: 纠正对齐后的文档反向漂移(UNSUPPORTED/CHDT/FDEL/Flyway)
ACM2-83/87/90 落地后 reference、implementation、MsgEvent 与迁移注释仍描述旧行为;拆开 UNSUPPORTED 两行,并写清 V1+V2 与删航班只走 msg。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-21 14:04:55 +08:00

28 lines
1.3 KiB
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# =====================================================================
# msgexchange-v2 本地开发环境变量示例(ACM2-13 口径)
# 复制为 .env 或直接在本地启动时 export
# =====================================================================
# 1. 共享信箱 MySQLdev compose: mysql 服务)
MSGX_MAILBOX_URL=jdbc:mysql://localhost:3306/cdairport?useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai&characterEncoding=utf8mb4
MSGX_MAILBOX_USER=msgx_dev
MSGX_MAILBOX_PASSWORD=msgx_dev_pass
# 2. 自有 PostgreSQLdev compose: postgres 服务,应用启动设 MSGX_FLYWAY_ENABLED=true 时由 Flyway 执行 V1 + V2
MSGX_PG_URL=jdbc:postgresql://localhost:5432/msgx
MSGX_PG_USER=msgx_dev
MSGX_PG_PASSWORD=msgx_dev_pass
# 3. Redis / ValkeyACM2-28:核心管道已退役;仅供 FS7 影子 diff 对拍读取 legacy 现役数据)
# MSGX_REDIS_URI=redis://localhost:6379
# 4. Kafkadev compose: kafka 单节点 KRaft 服务,或对接现网/测试网)
MSGX_KAFKA_SERVERS=localhost:9092
# --- Kafka Broker 兼容配置 ---
# D3 要求:acks=all + enable-idempotence=true + max-in-flight=1(默认值已满足)
# 旧版 Kafka0.10.x/1.x,无 INIT_PRODUCER_ID 协议):取消注释以下三行以触发兼容降级
# MSGX_KAFKA_ACKS=1
# MSGX_KAFKA_IDEMPOTENCE=false
# MSGX_KAFKA_MAX_IN_FLIGHT=1