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: 192.168.2.92:8848 namespace: 49ab56f7-3752-4c43-a935-a1d4024eb82b redis: host: 192.168.2.92 #Redis服务器地址 database: 9 # Redis数据库索引(默认为0) port: 6379 # Redis服务器连接端口 password: Fjc@2025 # Redis服务器连接密码(默认为空) prefix: fsv2_test jedis: pool: max-active: 8 # 连接池最大连接数(使用负值表示没有限制) max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制) max-idle: 8 # 连接池中的最大空闲连接 min-idle: 0 # 连接池中的最小空闲连接 shardingsphere: props: sql-show: false datasource: ds0: username: fujica password: Fjc@2025 url: jdbc:mysql://192.168.2.93:3306/test_inoutservice?useSSL=false&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: 500 #最大连接数量 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: 192.168.16.20:9876;192.168.16.21:9876;192.168.16.22:9876 producer: group: fujica-producer topic: topicDcEventAdd: topic_dc_event_add_test topicDcEventBatchAdd: topic_dc_event_batch_add_test topicDcServiceUpdate: topic_dc_service_update_test topicExPushParkIn: ex_park_in_data_test topicExPushParkInRecord: ex_park_in_record_test topicExPushParkOut: ex_park_out_data_test topicExPushModifyPlate: ex_modify_plate_data_test topicExPushFinishOrder: ex_finish_order_test topicExPushDeleteParkIn: ex_delete_park_in_test topicExPushParkCarFeeOrder: ex_park_car_fee_order_test consumer: topic: parkInRecord: park_in_record_test parkCarFeeOrder: park_car_fee_order_test parkDeleteInRecords: park_delete_inRecords_test parkEventRecord: park_event_record_test parkFinishOrder: park_finish_order_test parkFollowRecord: park_follow_record_test parkFollowPayStatus: park_follow_payStatus_test parkInRecordBatch: park_in_record_batch_test parkInRecordLockStatus: park_inRecord_lockStatus_test parkInRecordOffLine: park_in_record_offline_test parkModifyPlate: park_modify_plate_test parkOutRecord: park_out_record_test parkOutRecordOffline: park_out_record_offline_test parkSupplementInRecord: park_supplement_in_record_test topicExPushParkIn: push_park_in_data_test topicExPushParkOut: push_park_out_data_test parkModifyInModel: park_modify_in_model_test topicExPushModifyPlate: push_modify_plate_data_test parkGateOperateRecord: park_gate_operate_record_test # 云停车临停支付结果topic(云停车专属) cloudPayResult: cloud_pay_result_test group: parkInRecord: park_in_record_test parkCarFeeOrder: park_car_fee_order_test parkDeleteInRecords: park_delete_inRecords_test parkEventRecord: park_event_record_test parkFinishOrder: park_finish_order_test parkFollowRecord: park_follow_record_test parkFollowPayStatus: park_follow_payStatus_test parkInRecordBatch: park_in_record_batch_test parkInRecordLockStatus: park_inRecord_lockStatus_test parkInRecordOffLine: park_in_record_offline_test parkModifyPlate: park_modify_plate_test parkOutRecord: park_out_record_test parkOutRecordOffline: park_out_record_offline_test parkSupplementInRecord: park_supplement_in_record_test topicExPushParkIn: push_park_in_data_test topicExPushParkOut: push_park_out_data_test parkModifyInModel: park_modify_in_model_test topicExPushModifyPlate: push_modify_plate_data_test parkGateOperateRecord: park_gate_operate_record_test # 云停车临停支付结果消费组(云停车专属) cloudPayResult: cloud_pay_result_group_test async: corePoolSize: 20 maxPoolSize: 20 queueCapacity: 1000 namePrefix: async-service- aliyun: oss: endpoint: http://oss-cn-shenzhen.aliyuncs.com keyid: LTAI5tALFygbdLmGw1VsDEVw keysecret: wVJnGaeR8hkxvdnjr2lIzAWlZGVxTG bucketname: fsbase