| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- server:
- port: 10040
- servlet:
- encoding:
- charset: UTF-8
- force: true
- context-path: /cloudseat
- 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.fujica.feignapi: INFO
- tracer: trace # 开启trace级别日志,在开发时可以开启此配置,则控制台可以打印es全部请求信息及DSL语句,为了避免重复,开启此项配置后,可以将EE的print-dsl设置为false.
- spring:
- application:
- name: cloudseatservice
- cloud:
- gateway:
- discovery:
- locator:
- lower-case-service-id: true
- enabled: true
- nacos:
- discovery:
- server-addr: 192.168.2.92:8848
- namespace: 05044ba6-8b52-4095-8c02-00c5538b5907
- redis:
- host: 192.168.2.92 #Redis服务器地址
- database: 1 # Redis数据库索引(默认为0)
- port: 6379 # Redis服务器连接端口
- password: Fjc@2025 # Redis服务器连接密码(默认为空)
- prefix: fsv2_dev
- jedis:
- pool:
- max-active: 8 # 连接池最大连接数(使用负值表示没有限制)
- max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
- max-idle: 8 # 连接池中的最大空闲连接
- min-idle: 0 # 连接池中的最小空闲连接
- rocketmq:
- name-server: 192.168.16.20:9876;192.168.16.21:9876;192.168.16.22:9876
- consumer:
- topic:
- topicParkInfo: topic_park_info_dev
- topicParkLane: topic_park_lane_dev
- topicDevice: topic_device_info_dev
- topicDeviceOnlineStatus: topic_device_status_dev
- topicParkPlace: topic_park_place_dev
- topicEvent: cloud_seat_event_dev
- topicProjectInfo: topic_project_info_dev
- deviceCommandAck: device_command_ack_dev
- group:
- topicParkInfo: topic_park_info_cloud_dev
- topicParkLane: topic_park_lane_cloud_dev
- topicDevice: topic_device_info_cloud_dev
- topicDeviceOnlineStatus: topic_device_status_cloud_dev
- topicEvent: cloud_seat_event_dev
- topicParkPlace: topic_park_place_cloud_dev
- topicProjectInfo: topic_project_info_cloud_dev
- deviceCommandAck: device_command_ack_dev
- feign:
- httpclient:
- enabled: true #开启feign连接池
- max-connections: 100
- max-connections-per-route: 50
- client:
- config:
- default:
- loggerLevel: FULL
- connect-timeout: 2000 #默认连接超时时间
- read-timeout: 8000 #默认请求超时时间
- #云坐席配置
- cloud:
- url: http://fscloudseatgateway:30059/api
- system-code: v2-to-carpoint
- secret-key: 7B3D9A4F1C8E5G2H6J9K1L0M4N7P3R5S
- sid: YAqEezPC
- tk: 3163960780cbb77f5a8f5b75089d1fa2
- async:
- thread-pool: #为@Async功能配置的线程池
- common: #通用线程池
- core-pool-size: 1
- max-pool-size: 1
- queue-capacity: 100
- name-prefix: cloud
|