# --- Server -------------------------------------------------------
server.port=8787

# --- Auto-configuration exclusions --------------------------------
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration

# --- Baidu ADX -----------------------------------------------------
adx.baidu-adx-endpoint=http://adsp.baidu.com/jbssp
adx.baidu-conversion-base-url=https://media-interact-test.baidu.com
adx.baidu-customer-name=dingzhaoming111
adx.baidu-secret=gk780scz3oi2
adx.baidu-auction-price-encryption=aes-128-cbc
adx.baidu-auction-price-e-key=192c728294891ef6
adx.baidu-auction-price-i-key=ee64e8c430a2510e
adx.baidu-media-id=1213
adx.baidu-android-app-id=dcb4cbec
adx.baidu-android-tag-ids=jlt52,jlt53,jlt54,jlt55,jlt56,jlt57,jlt58,jlt59,jlt60,jlt61,jlt62,jlt63,jlt64,jlt65,jlt66,jlt67,jlt68,jlt69,jlt70,jlt71,jlt72,jlt73,jlt74,jlt75,jlt76,jlt77,jlt78,jlt79,jlt80,jlt81,jlt82,jlt83,jlt84,jlt85,jlt86,jlt87,jlt88,jlt89,jlt90,jlt91,jlt92,jlt93,jlt94,jlt95,jlt96,jlt97,jlt98,jlt99,jlt100,jlt101
adx.baidu-ios-app-id=efff0562
adx.baidu-ios-tag-ids=jlt01,jlt03,jlt04,jlt05,jlt06,jlt07,jlt08,jlt09,jlt10,jlt11,jlt12,jlt13,jlt14,jlt15,jlt16,jlt17,jlt18,jlt19,jlt20,jlt21,jlt22,jlt23,jlt24,jlt25,jlt26,jlt27,jlt28,jlt29,jlt30,jlt31,jlt32,jlt33,jlt34,jlt35,jlt36,jlt37,jlt38,jlt39,jlt40,jlt41,jlt42,jlt43,jlt44,jlt45,jlt46,jlt47,jlt48,jlt49,jlt50,jlt51
adx.baidu-bid-floor=0
adx.baidu-action-type=1

# --- Redis ---------------------------------------------------------
adx.redis-addr=cq-crs-47p6pmwo.sql.tencentcdb.com:28036
adx.redis-username=hcst
adx.redis-password=hcst@2026qwe..
adx.redis-db=0
adx.redis-stream=adx:events
adx.redis-stream-max-len=50000
adx.bid-ttl=24h

# --- TiDB/MySQL ----------------------------------------------------
adx.tidb-url=jdbc:mysql://139.186.172.149:3390/adx_proxy?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&connectTimeout=5000&socketTimeout=30000
adx.tidb-username=hcst
adx.tidb-password=hcst@2025

# --- Task Lock -----------------------------------------------------
adx.task-lock-ttl=120s
adx.task-lock-renew-interval=30s
adx.task-lock-retry-interval=15s
 # -- true?????
adx.skip-leader-election=true

# --- Worker --------------------------------------------------------
adx.worker-group=cold-writers
adx.worker-consumer=server-1
adx.worker-batch=100

# --- Conversion Sync -----------------------------------------------
adx.conversion-sync-enabled=true
adx.conversion-sync-interval=5s
adx.conversion-sync-date-offset-days=0
adx.conversion-sync-page-size=1
adx.conversion-sync-acts=1,2,3,4,5,6,8

# --- Kuaishou Act Map -----------------------------------------------
# Go env: KUAISHOU_ACT_MAP= (empty -> Java default new HashMap)
# Go env: KUAISHOU_EXTRA_ACT_MAP=3:1
# Go env: REDIS_STREAM_MAXLEN=50000 -> see adx.redis-stream-max-len above
adx.kuaishou-extra-act-map.3=1

# --- Callback Retry ------------------------------------------------
adx.callback-retry-enabled=true
adx.callback-retry-interval=300s
adx.callback-retry-limit=100

# --- Jackson -------------------------------------------------------
spring.jackson.default-property-inclusion=non_null
