12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- server:
- port: 8899
- undertow:
- accesslog:
- dir: .logs
- enabled: true
- pattern: common
- prefix: access_log
- suffix: log
- threads:
- # io线程数,主要执行费阻塞的任务
- io: 8
- # 阻塞任务线程池
- worker: 50
- # 每块buffer的空间大小,越小的空间被利用越充分
- buffer-size: 1024
- # 是否分配的直接内存
- direct-buffers: true
- spring:
- datasource:
- core:
- jdbc-url: jdbc:mysql://47.112.140.222:3306/rz_hfdb_core?allowMultiQueries=true&useSSL=false&rewriteBatchedStatements=true&zeroDateTimeBehavior=convertToNull
- username: rz_cm_master
- password: TbLuENLK
- driver-class-name: com.mysql.cj.jdbc.Driver
- hikari:
- pool-name: hfdb_core
- # 连接池最大连接数,默认是10
- maximum-pool-size: 10
- # 此属性控制从池返回的连接的默认自动提交行为,默认值:true
- auto-commit: true
- # 此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认30分钟
- max-lifetime: 900000
- # 数据库连接超时时间,设置为300秒超时
- connection-timeout: 300000
- # keepalive time
- keepalive-time: 60000
- mf:
- jdbc-url: jdbc:mysql://47.112.140.222:3306/rz_mf_info?allowMultiQueries=true&useSSL=false&rewriteBatchedStatements=true&zeroDateTimeBehavior=convertToNull
- username: rz_cm_master
- password: TbLuENLK
- driver-class-name: com.mysql.cj.jdbc.Driver
- hikari:
- pool-name: mf_info
- # 连接池最大连接数,默认是10
- maximum-pool-size: 10
- # 此属性控制从池返回的连接的默认自动提交行为,默认值:true
- auto-commit: true
- # 此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认30分钟
- max-lifetime: 900000
- # 数据库连接超时时间,设置为300秒超时
- connection-timeout: 300000
- # keepalive time
- keepalive-time: 60000
- data:
- redis:
- host: 192.168.1.28
- port: 6379
- password: twznW28grxzk
- timeout: 30000
- database: 2
- jedis:
- pool:
- max-idle: 6 #最大空闲数
- max-active: 10 #最大连接数
- min-idle: 2 #最小空闲数
- application:
- name: smppw-analysis
- smppw:
- data:
- analysis:
- py-url: https://pymaster-test.simuwang.com/ # python服务调用地址
- cache-type: redis # 缓存类型,支持redis和memory;如果是redis必须配置redis
- enable-sign: false # 参数签名校验功能是否可用
- data-source: tob # 数据源、toc和tob
- # 打印一下sql日志
- logging:
- level:
- com.smppw.analysis.domain.mapper: debug
|