# ============================================================ # 测试环境配置 (test) # ============================================================ logging: file: path: /var/log/adx-tencent baidu: clue: base-url: "https://cpu-bside.baidu.com" appsid: "" token: "" public-key-path: "src/main/resources/keys/baidu-clue-rsa-public-key.pem" media-type: 4 media-url: "" media-website: "" connect-timeout-seconds: 10 read-timeout-seconds: 30 adx: # --- Baidu ADX --- baidu-adx-endpoint: "http://adsp.baidu.com/jbssp" baidu-conversion-base-url: "https://media-interact-test.baidu.com" baidu-customer-name: dingzhaoming111 baidu-secret: gk780scz3oi2 # --- Tencent API --- tencent-api-base-url: "https://api.e.qq.com/v3.0" tencent-access-token: "YOUR_TEST_ACCESS_TOKEN" tencent-android-user-action-set-id: 0 tencent-ios-user-action-set-id: 0 tencent-act-map: "1": ACTIVATE_APP "2": PURCHASE "3": REGISTER "4": ONE_DAY_RETENTION "5": COMPLETE_ORDER "6": START_APP "7": CUSTOM "8": CUSTOM "9": CUSTOM # --- Redis --- redis-addr: "cq-crs-47p6pmwo.sql.tencentcdb.com:28036" redis-username: hcst redis-password: "hcst@2026qwe.." redis-db: 0 redis-connect-timeout: 5s redis-command-timeout: 5s redis-shutdown-timeout: 100ms redis-validate-connection: true # --- TiDB/MySQL --- tidb-url: "jdbc:mysql://139.186.172.149:3390/adx_tencent?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&connectTimeout=5000&socketTimeout=30000" tidb-username: hcst tidb-password: "hcst@2025" tidb-minimum-idle: 2 tidb-maximum-pool-size: 10 tidb-connection-timeout: 10s tidb-validation-timeout: 3s tidb-idle-timeout: 5m tidb-max-lifetime: 10m tidb-keepalive-time: 2m report-database-name: "adx_report" ad-bid-report-enabled: true ad-bid-report-interval: 5m ad-bid-report-retention-days: 30 ad-bid-report-archive-batch-size: 5000 ad-bid-report-archive-max-batches-per-run: 20 ad-bid-report-stats-run-times: ["01:00", "10:00", "17:00"] ad-bid-report-stats-lookback-days: 7 # --- Task --- skip-leader-election: false # --- Conversion Sync --- conversion-sync-enabled: true conversion-sync-interval: 5s conversion-sync-date-offset-days: 0 conversion-sync-page-size: 1 # --- Callback Retry --- callback-retry-enabled: true callback-retry-interval: 300s # --- Tag Event Sync(广告位回传方式 -> Redis)--- tag-event-sync-enabled: true tag-event-sync-interval: 300s # --- Honor Tag Event Sync(荣耀广告位回传方式 -> Redis)--- honor-tag-event-sync-enabled: false honor-tag-event-sync-interval: 300s honor-tag-event-sync-redis-prefix: "adx:honor:tag-event:" # --- Vivo Callback --- vivo-conversion-base-url: "https://marketing-api.vivo.com.cn" vivo-redis-stream: "adx:vivo:events" vivo-callback-retry-enabled: false vivo-callback-retry-interval: 300s vivo-callback-retry-limit: 100 vivo-tag-event-sync-enabled: false vivo-tag-event-sync-interval: 300s vivo-tag-event-sync-redis-prefix: "adx:vivo:tag-event:" vivo-redirect-uri: "/vivo/callback" vivo-token-redis-prefix: "adx:vivo:token:" vivo-advertiser-sync-enabled: true vivo-advertiser-sync-interval: 600s vivo-advertiser-redis-prefix: "adx:vivo:advertiser:"