server: port: 10011 servlet: encoding: charset: UTF-8 force: true context-path: /inout 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: inoutservice 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 redis: host: r-wz968zear8t0d8bkbg.redis.rds.aliyuncs.com #Redis服务器地址 database: 9 # Redis数据库索引(默认为0) port: 6379 # Redis服务器连接端口 password: yn8Vh85rxvtUPnqB # Redis服务器连接密码(默认为空) jedis: pool: max-active: 100 # 连接池最大连接数(使用负值表示没有限制) max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制) max-idle: 20 # 连接池中的最大空闲连接 min-idle: 10 # 连接池中的最小空闲连接 shardingsphere: props: sql-show: false datasource: ds0: username: fujicaV2user password: BGbn4jP!mq4jxn@o4fQyp5*@ url: jdbc:mysql://rm-wz989u6pfs8lb7a22.mysql.rds.aliyuncs.com:3306/inoutservice?useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=GMT%2b8 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: 200 #最大连接数量 max-lifetime: 1800000 #连接的最长生命周期 connection-test-query: select 1 #连接验证sql names: ds0 rules: sharding: sharding-algorithms: # 分表算法 table-parkin: type: INLINE props: algorithm-expression: io_park_in_$->{Math.abs(project_no.hashCode()%10) +1} table-parkout: type: INLINE props: algorithm-expression: io_park_out_$->{Math.abs(project_no.hashCode()%10) +1} tables: io_park_in: actual-data-nodes: ds0.io_park_in_$->{1..10} key-generate-strategy: column: project_no key-generator-name: projectuuid # 分表策略 table-strategy: standard: sharding-column: project_no sharding-algorithm-name: table-parkin io_park_out: actual-data-nodes: ds0.io_park_out_$->{1..10} key-generate-strategy: column: project_no key-generator-name: projectuuid # 分表策略 table-strategy: standard: sharding-column: project_no sharding-algorithm-name: table-parkout key-generators: projectuuid: type: UUID mode: type: Standalone #指定mybatis映射文件的地址 mybatis: mapper-locations: classpath:mapper/*.xml rocketmq: name-server: 10.16.0.48:9876 producer: group: fujica-producer topic: topicDcEventAdd: topic_dc_event_add_pro topicDcEventBatchAdd: topic_dc_event_batch_add_pro topicExPushParkIn: ex_park_in_data_pro topicExPushParkInRecord: ex_park_in_record_pro topicExPushParkOut: ex_park_out_data_pro topicExPushModifyPlate: ex_modify_plate_data_pro topicExPushFinishOrder: ex_finish_order_pro topicExPushDeleteParkIn: ex_delete_park_in_pro topicExPushParkCarFeeOrder: ex_park_car_fee_order_pro topicDcServiceUpdate: topic_dc_service_update_pro consumer: topic: parkInRecord: park_in_record_pro parkCarFeeOrder: park_car_fee_order_pro parkDeleteInRecords: park_delete_inRecords_pro parkEventRecord: park_event_record_pro parkFinishOrder: park_finish_order_pro parkFollowRecord: park_follow_record_pro parkFollowPayStatus: park_follow_payStatus_pro parkInRecordBatch: park_in_record_batch_pro parkInRecordLockStatus: park_inRecord_lockStatus_pro parkInRecordOffLine: park_in_record_offline_pro parkModifyPlate: park_modify_plate_pro parkOutRecord: park_out_record_pro parkOutRecordOffline: park_out_record_offline_pro parkSupplementInRecord: park_supplement_in_record_pro topicExPushParkIn: push_park_in_data_pro topicExPushParkOut: push_park_out_data_pro parkModifyInModel: park_modify_in_model_pro topicExPushModifyPlate: push_modify_plate_data_pro parkGateOperateRecord: park_gate_operate_record_pro group: parkInRecord: park_in_record_pro parkCarFeeOrder: park_car_fee_order_pro parkDeleteInRecords: park_delete_inRecords_pro parkEventRecord: park_event_record_pro parkFinishOrder: park_finish_order_pro parkFollowRecord: park_follow_record_pro parkFollowPayStatus: park_follow_payStatus_pro parkInRecordBatch: park_in_record_batch_pro parkInRecordLockStatus: park_inRecord_lockStatus_pro parkInRecordOffLine: park_in_record_offline_pro parkModifyPlate: park_modify_plate_pro parkOutRecord: park_out_record_pro parkOutRecordOffline: park_out_record_offline_pro parkSupplementInRecord: park_supplement_in_record_pro topicExPushParkIn: push_park_in_data_pro topicExPushParkOut: push_park_out_data_pro parkModifyInModel: park_modify_in_model_pro topicExPushModifyPlate: push_modify_plate_data_pro parkGateOperateRecord: park_gate_operate_record_pro async: corePoolSize: 20 maxPoolSize: 20 queueCapacity: 1000 namePrefix: async-service- 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 #代理服务请求超时时