server: port: 10017 servlet: encoding: charset: UTF-8 force: true context-path: /open 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: openservice cloud: gateway: discovery: locator: lower-case-service-id: true enabled: true nacos: discovery: server-addr: 10.16.0.49:8848 namespace: 02f60846-3747-424e-a598-2ea9e66dfe87 sentinel: transport: # 添加sentinel的控制台地址 dashboard: 10.0.2.77:8787 # 指定应用与Sentinel控制台交互的端口,应用会起一个HttpServer占用该端口 #port: 8719 # 将其配置为 false 即可根据不同的 URL 进行链路限流 #web-context-unify: false # 从nacos配置中心拉取规则信息 datasource: flow-rules: #流控规则 nacos: server-addr: 10.16.0.49:8848 namespace: 02f60846-3747-424e-a598-2ea9e66dfe87 username: nacos password: m2BmoAaEc0vFQLsh dataId: ${spring.application.name}-flow-rules groupId: DEFAULT_GROUP # 注意groupId对应Sentinel Dashboard中的定义 data-type: json rule-type: flow redis: host: r-wz968zear8t0d8bkbg.redis.rds.aliyuncs.com #Redis服务器地址 database: 1 # Redis数据库索引(默认为0) port: 6379 # Redis服务器连接端口 password: yn8Vh85rxvtUPnqB # Redis服务器连接密码(默认为空) prefix: fsv2_pro jedis: pool: max-active: 8 # 连接池最大连接数(使用负值表示没有限制) max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制) max-idle: 8 # 连接池中的最大空闲连接 min-idle: 0 # 连接池中的最小空闲连接 datasource: url: jdbc:mysql://rm-wz989u6pfs8lb7a22.mysql.rds.aliyuncs.com:3306/openservice?useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=GMT%2b8 username: fujicaV2user password: BGbn4jP!mq4jxn@o4fQyp5*@ type: com.zaxxer.hikari.HikariDataSource driver-class-name: com.mysql.cj.jdbc.Driver validation-timeout: 3000 idle-timeout: 60000 minimum-idle: 30 read-only: false connection-timeout: 60000 #请求连接的超时时间 maximum-pool-size: 1000 #最大连接数量 max-lifetime: 1800000 #连接的最长生命周期 connection-test-query: select 1 #连接验证sql data: mongodb: uri: mongodb://root:U5Z0Y0fneQnjH3Xj4lENpW0D@dds-wz92ac81710b54241.mongodb.rds.aliyuncs.com:3717,dds-wz92ac81710b54242.mongodb.rds.aliyuncs.com:3717/fujica_data_center?replicaSet=mgset-77298810&authSource=admin #指定mybatis映射文件的地址 mybatis: mapper-locations: classpath:mapper/*.xml configuration: map-underscore-to-camel-case: true rocketmq: name-server: 10.16.0.80:9876;10.16.0.81:9876;10.16.0.82:9876 producer: group: fujica-producer consumer: topic: payResultSync: topic_pay_result_sync_api_pro topicExPushParkIn: push_park_in_data_pro topicExPushParkOut: push_park_out_data_pro parkCarFeeOrder: park_car_fee_order_pro topicParkInfo: topic_park_info_pro topicParkPlace: topic_park_place_pro group: payResultSync: topic_pay_result_sync_api_pro topicExPushParkIn: push_park_in_data_pro topicExPushParkOut: push_park_out_data_pro parkCarFeeOrder: park_car_fee_order_pro topicParkInfo: topic_park_info_pro topicParkPlace: topic_park_place_pro feign: httpclient: enabled: true #开启feign连接池 max-connections: 100 max-connections-per-route: 50 client: config: default: connect-timeout: 2000 #默认连接超时时间 read-timeout: 8000 #默认请求超时时间 payCenterProxy: connect-timeout: 2000 #代理服务连接超时时间 read-timeout: 25000 #代理服务请求超时时 async: corePoolSize: 5 maxPoolSize: 10 queueCapacity: 20 namePrefix: async-service- aliyun: oss: endpoint: https://oss-cn-shenzhen.aliyuncs.com keyid: LTAI5tALFygbdLmGw1VsDEVw keysecret: wVJnGaeR8hkxvdnjr2lIzAWlZGVxTG bucketname: fsbase open: sign: check: true push: url-retry-time: 0 url-retry-interval: 1000 allow-re-push: false re-push-time: 0 re-push-interval: 1000 save-push-error: false xxl: job: admin: addresses: http://10.16.0.49:8088/xxl-job-admin executor: appname: openservice address: port: 9966 logretentiondays: 30 accessToken: default_token