cloudseatservice-dev.yaml 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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. group:
  60. topicParkInfo: topic_park_info_cloud_dev
  61. topicParkLane: topic_park_lane_cloud_dev
  62. topicDevice: topic_device_info_cloud_dev
  63. topicDeviceOnlineStatus: topic_device_status_cloud_dev
  64. topicEvent: cloud_seat_event_dev
  65. topicParkPlace: topic_park_place_cloud_dev
  66. topicProjectInfo: topic_project_info_cloud_dev
  67. feign:
  68. httpclient:
  69. enabled: true #开启feign连接池
  70. max-connections: 100
  71. max-connections-per-route: 50
  72. client:
  73. config:
  74. default:
  75. loggerLevel: FULL
  76. connect-timeout: 2000 #默认连接超时时间
  77. read-timeout: 8000 #默认请求超时时间
  78. #云坐席配置
  79. cloud:
  80. url: http://fscloudseatgateway:30059/api
  81. system-code: v2-to-carpoint
  82. secret-key: 7B3D9A4F1C8E5G2H6J9K1L0M4N7P3R5S
  83. sid: YAqEezPC
  84. tk: 3163960780cbb77f5a8f5b75089d1fa2
  85. async:
  86. thread-pool: #为@Async功能配置的线程池
  87. common: #通用线程池
  88. core-pool-size: 1
  89. max-pool-size: 1
  90. queue-capacity: 100
  91. name-prefix: cloud