| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- server:
- port: 10042
- servlet:
- encoding:
- charset: UTF-8
- force: true
- context-path: /devicedrive
- compression:
- enabled: true
- mime-types: application/json,application/xml,text/html,text/xml,text/plain
- min-response-size: 2048
- logging:
- file:
- path: log/wookit
- level:
- root: info
- "[javax.management]": INFO
- "[org.apache.http]": INFO
- "[org.apache.tomcat.util.net.NioEndpoint]": INFO
- "[sun.rmi]": INFO
- "[com.alibaba.nacos]": ERROR
- tracer: trace # 开启trace级别日志,在开发时可以开启此配置,则控制台可以打印es全部请求信息及DSL语句,为了避免重复,开启此项配置后,可以将EE的print-dsl设置为false.
- spring:
- application:
- name: devicedriveservice
- cloud:
- nacos:
- discovery:
- server-addr: 192.168.2.92:8848
- namespace: 49ab56f7-3752-4c43-a935-a1d4024eb82b
- redis:
- host: 192.168.2.92
- database: 1
- port: 6379
- password: Fjc@2025
- prefix: fsv2_test
- jedis:
- pool:
- max-active: 8
- max-wait: -1
- max-idle: 8
- min-idle: 0
- mqtt:
- emqx:
- endpoint: 192.168.2.92
- port: 1883
- username: admin
- password: fujica0408
- subclientid: ${spring.application.name}-subscriber-${random.value}
- pubclientid: ${spring.application.name}-publisher-${random.value}
- qos: 1
- keepaliveinterval: 300
- cleansession: false
- automaticreconnect: true
- completiontimeout: 30000
- reconnectInterval: 10000
- maxReconnectAttempts: -1
- connectionTimeout: 30
- baseReconnectDelay: 1000
- maxReconnectDelay: 60000
- topicdeviceup: device/+/message/up/+
- topicdownack: device/+/message/down/+/reply
- topicheartbeat: $/device/+/message/up/keep_alive
- retry:
- enabled: true
- maxAttempts: 10
- initialInterval: 5000
- maxInterval: 60000
- multiplier: 2.0
- connectionTimeout: 30000
- heartbeatInterval: 30000
- immediateRetry: true
- strategy: EXPONENTIAL_BACKOFF
- rocketmq:
- name-server: 192.168.16.20:9876;192.168.16.21:9876;192.168.16.22:9876
- producer:
- group: device-drive-producer
- send-message-timeout: 30000
- retry-times-when-send-failed: 3
- topic:
- up:
- deviceRecognitionResult: device_recognition_test
- gateStatus: control_gate_result_test
- gpioInput: gpio_input_event_test
- heartbeat: heartbeat_event_test
- serialData: serial_data_event_test
- snapshotResult: snapshot_result_event_test
- reply: device-reply-event_test
- gpioDeviceStatus: gpio_device_status_test
- consumer:
- topic:
- parkDeviceInfoSync: park-device-info-sync_test
- deviceCommand: parkauth_device_command_test
- group:
- parkDeviceInfoSync: park-device-info-sync-group_test
- deviceCommand: device-command-consumer-group_test
- device:
- auto-register: true
- heartbeat-interval: 60
- offline-timeout: 300
- async:
- thread-pool:
- common:
- core-pool-size: 4
- max-pool-size: 16
- queue-capacity: 512
- name-prefix: async-common-
|