application-toc.yaml 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. server:
  2. port: 8899
  3. undertow:
  4. accesslog:
  5. dir: .logs
  6. enabled: true
  7. pattern: common
  8. prefix: access_log
  9. suffix: log
  10. threads:
  11. # io线程数,主要执行费阻塞的任务
  12. io: 8
  13. # 阻塞任务线程池
  14. worker: 50
  15. # 每块buffer的空间大小,越小的空间被利用越充分
  16. buffer-size: 1024
  17. # 是否分配的直接内存
  18. direct-buffers: true
  19. spring:
  20. datasource:
  21. core:
  22. jdbc-url: jdbc:mysql://120.79.121.165:3306/rz_hfdb_core?allowMultiQueries=true&useSSL=false&rewriteBatchedStatements=true&zeroDateTimeBehavior=convertToNull
  23. username: rz_new_data_channel_user
  24. password: xVfuCKIP
  25. driver-class-name: com.mysql.cj.jdbc.Driver
  26. hikari:
  27. pool-name: hfdb_core
  28. # 连接池最大连接数,默认是10
  29. maximum-pool-size: 10
  30. # 此属性控制从池返回的连接的默认自动提交行为,默认值:true
  31. auto-commit: true
  32. # 此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认30分钟
  33. max-lifetime: 900000
  34. # 数据库连接超时时间,设置为300秒超时
  35. connection-timeout: 300000
  36. # keepalive time
  37. keepalive-time: 60000
  38. mf:
  39. jdbc-url: jdbc:mysql://120.79.121.165:3306/rz_mf_info?allowMultiQueries=true&useSSL=false&rewriteBatchedStatements=true&zeroDateTimeBehavior=convertToNull
  40. username: rz_new_data_channel_user
  41. password: xVfuCKIP
  42. driver-class-name: com.mysql.cj.jdbc.Driver
  43. hikari:
  44. pool-name: mf_info
  45. # 连接池最大连接数,默认是10
  46. maximum-pool-size: 10
  47. # 此属性控制从池返回的连接的默认自动提交行为,默认值:true
  48. auto-commit: true
  49. # 此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认30分钟
  50. max-lifetime: 900000
  51. # 数据库连接超时时间,设置为300秒超时
  52. connection-timeout: 300000
  53. # keepalive time
  54. keepalive-time: 60000
  55. data:
  56. redis:
  57. host: 192.168.1.28
  58. port: 6379
  59. password: twznW28grxzk
  60. timeout: 30000
  61. database: 2
  62. jedis:
  63. pool:
  64. max-idle: 6 #最大空闲数
  65. max-active: 10 #最大连接数
  66. min-idle: 2 #最小空闲数
  67. application:
  68. name: smppw-analysis
  69. smppw:
  70. data:
  71. analysis:
  72. py-url: https://pymaster-test.simuwang.com/ # python服务调用地址
  73. cache-type: redis # 缓存类型,支持redis和memory;如果是redis必须配置redis
  74. enable-sign: false # 参数签名校验功能是否可用
  75. data-source: toc # 数据源、toc和tob
  76. # 打印一下sql日志
  77. logging:
  78. level:
  79. com.smppw.analysis.domain.mapper: debug