spring: application: name: xinda-push-app config: import: - optional:nacos:${spring.application.name}.${NACOS_CONFIG_FILE_EXTENSION:yml}?group=${NACOS_GROUP:DEFAULT_GROUP}&refreshEnabled=${NACOS_REFRESH_ENABLED:true} cloud: nacos: config: enabled: ${NACOS_CONFIG_ENABLED:true} server-addr: ${NACOS_SERVER_ADDR:127.0.0.1:8848} namespace: ${NACOS_NAMESPACE:} group: ${NACOS_GROUP:DEFAULT_GROUP} file-extension: ${NACOS_CONFIG_FILE_EXTENSION:yml} username: ${NACOS_USERNAME:} password: ${NACOS_PASSWORD:} threads: virtual: enabled: true server: port: ${HTTP_PORT:20600} springdoc: swagger-ui: path: /swagger-ui.html api-docs: path: /v3/api-docs lingniu: ingest: xinda-push: enabled: ${XINDA_PUSH_ENABLED:false} host: ${XINDA_PUSH_HOST:} port: ${XINDA_PUSH_PORT:10100} username: ${XINDA_PUSH_USERNAME:} password: ${XINDA_PUSH_PASSWORD:} client-desc: ${XINDA_PUSH_CLIENT_DESC:lingniu-ingest} subscribe-msg-ids: - ${XINDA_PUSH_MSG_ID_LOCATION:0200} - ${XINDA_PUSH_MSG_ID_ALARM:0300} - ${XINDA_PUSH_MSG_ID_PASSTHROUGH:0401} reconnect-interval-sec: ${XINDA_PUSH_RECONNECT_INTERVAL_SEC:5} pipeline: disruptor: ring-buffer-size: ${PIPELINE_RING_BUFFER_SIZE:131072} wait-strategy: ${PIPELINE_WAIT_STRATEGY:yielding} producer-type: multi dedup: enabled: true cache-size: 200000 ttl-seconds: 600 rate-limit: per-vin-qps: 50 identity: store: ${VEHICLE_IDENTITY_STORE:mysql} mysql: jdbc-url: ${VEHICLE_IDENTITY_MYSQL_JDBC_URL:jdbc:mysql://127.0.0.1:3306/lingniu_vehicle?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai} username: ${VEHICLE_IDENTITY_MYSQL_USERNAME:root} password: ${VEHICLE_IDENTITY_MYSQL_PASSWORD:} table-name: ${VEHICLE_IDENTITY_MYSQL_TABLE:vehicle_identity_bindings} initialize-schema: ${VEHICLE_IDENTITY_MYSQL_INITIALIZE_SCHEMA:true} sink: kafka: enabled: true bootstrap-servers: ${KAFKA_BROKERS:114.55.58.251:9092} compression-type: zstd linger-ms: 20 batch-size: 65536 acks: all enable-idempotence: true node-id: ${KAFKA_NODE_ID:xinda-push-local} topics: realtime: ${KAFKA_TOPIC_XINDA_PUSH_EVENT:vehicle.event.xinda-push.v1} location: ${KAFKA_TOPIC_XINDA_PUSH_EVENT:vehicle.event.xinda-push.v1} alarm: ${KAFKA_TOPIC_XINDA_PUSH_EVENT:vehicle.event.xinda-push.v1} session: ${KAFKA_TOPIC_XINDA_PUSH_EVENT:vehicle.event.xinda-push.v1} media-meta: ${KAFKA_TOPIC_MEDIA_META:vehicle.media.meta.v1} raw-archive: ${KAFKA_TOPIC_XINDA_PUSH_RAW:vehicle.raw.xinda-push.v1} dlq: ${KAFKA_TOPIC_XINDA_PUSH_DLQ:vehicle.dlq.xinda-push.v1} consumer: enabled: false archive: enabled: ${SINK_ARCHIVE_ENABLED:true} type: local path: ${SINK_ARCHIVE_PATH:./archive/} event-file-store: enabled: false event-history: enabled: false vehicle-state: enabled: false vehicle-stat: enabled: false management: endpoints: web: exposure: include: health,info,metrics,prometheus,env health: redis: enabled: ${MANAGEMENT_HEALTH_REDIS_ENABLED:false} metrics: tags: application: xinda-push-app logging: level: root: INFO com.lingniu.ingest: INFO