cloudseatservice-dev.yaml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. server:
  2. port: 10040
  3. servlet:
  4. encoding:
  5. charset: UTF-8
  6. force: true
  7. context-path: /cloudseat
  8. compression:
  9. enabled: true #开启数据压缩
  10. mime-types: application/json,application/xml,text/html,text/xml,text/plain
  11. min-response-size: 2048
  12. logging:
  13. file:
  14. path: log/wookit
  15. level:
  16. root: info
  17. "[javax.management]": INFO
  18. "[org.apache.http]": INFO
  19. "[org.apache.tomcat.util.net.NioEndpoint]": INFO
  20. "[sun.rmi]": INFO
  21. com.fujica.feignapi: INFO
  22. tracer: trace # 开启trace级别日志,在开发时可以开启此配置,则控制台可以打印es全部请求信息及DSL语句,为了避免重复,开启此项配置后,可以将EE的print-dsl设置为false.
  23. spring:
  24. application:
  25. name: cloudseatservice
  26. cloud:
  27. gateway:
  28. discovery:
  29. locator:
  30. lower-case-service-id: true
  31. enabled: true
  32. nacos:
  33. discovery:
  34. server-addr: 192.168.2.92:8848
  35. namespace: 05044ba6-8b52-4095-8c02-00c5538b5907
  36. redis:
  37. host: 192.168.2.92 #Redis服务器地址
  38. database: 1 # Redis数据库索引(默认为0)
  39. port: 6379 # Redis服务器连接端口
  40. password: Fjc@2025 # Redis服务器连接密码(默认为空)
  41. prefix: fsv2_dev
  42. jedis:
  43. pool:
  44. max-active: 8 # 连接池最大连接数(使用负值表示没有限制)
  45. max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
  46. max-idle: 8 # 连接池中的最大空闲连接
  47. min-idle: 0 # 连接池中的最小空闲连接
  48. rocketmq:
  49. name-server: 192.168.16.20:9876;192.168.16.21:9876;192.168.16.22:9876
  50. consumer:
  51. topic:
  52. topicParkInfo: topic_park_info_dev
  53. topicParkLane: topic_park_lane_dev
  54. topicDevice: topic_device_info_dev
  55. topicDeviceOnlineStatus: topic_device_status_dev
  56. topicParkPlace: topic_park_place_dev
  57. topicEvent: cloud_seat_event_dev
  58. topicProjectInfo: topic_project_info_dev
  59. deviceCommandAck: device_command_ack_dev
  60. group:
  61. topicParkInfo: topic_park_info_cloud_dev
  62. topicParkLane: topic_park_lane_cloud_dev
  63. topicDevice: topic_device_info_cloud_dev
  64. topicDeviceOnlineStatus: topic_device_status_cloud_dev
  65. topicEvent: cloud_seat_event_dev
  66. topicParkPlace: topic_park_place_cloud_dev
  67. topicProjectInfo: topic_project_info_cloud_dev
  68. deviceCommandAck: device_command_ack_dev
  69. feign:
  70. httpclient:
  71. enabled: true #开启feign连接池
  72. max-connections: 100
  73. max-connections-per-route: 50
  74. client:
  75. config:
  76. default:
  77. loggerLevel: FULL
  78. connect-timeout: 2000 #默认连接超时时间
  79. read-timeout: 8000 #默认请求超时时间
  80. #云坐席配置
  81. cloud:
  82. url: http://fscloudseatgateway:30059/api
  83. system-code: v2-to-carpoint
  84. secret-key: 7B3D9A4F1C8E5G2H6J9K1L0M4N7P3R5S
  85. sid: YAqEezPC
  86. tk: 3163960780cbb77f5a8f5b75089d1fa2
  87. async:
  88. thread-pool: #为@Async功能配置的线程池
  89. common: #通用线程池
  90. core-pool-size: 1
  91. max-pool-size: 1
  92. queue-capacity: 100
  93. name-prefix: cloud