application-dev.yml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. platomix:
  2. etl:
  3. enabled: false
  4. flinkHome: /Users/wookvn/Documents/working/flink-1.15.4
  5. flinkVersion: 1.15.4
  6. flinkWebInterfaceUrls:
  7. - http://localhost:8081
  8. flinkResourceProvider: STANDALONE
  9. seatunnelHome: /Users/wookvn/Documents/working/apache-seatunnel-2.3.2
  10. seatunnelVersion: 2.3.2
  11. tempWorkspace: /Users/wookvn/Downloads/upload/test
  12. clusterCredentialPath: /Users/wookvn/Documents/working/hadoop-3.2.4/etc/hadoop
  13. preview-redis:
  14. host: 121.204.253.223
  15. port: 6379
  16. auth: ltbiydhao5
  17. database: 4
  18. sftp:
  19. host: 121.204.253.223
  20. port: 22
  21. user: root
  22. password: kk30@123
  23. uploadDir: /opt/bigdata/upload
  24. dsy: #数据同步的datax环境
  25. dataxHome: /opt/bigdata/datax
  26. dataxExecHome: /opt/bigdata/datax_data
  27. sshServers:
  28. - ip: 121.204.249.37
  29. user: root
  30. password: 993fNeaQ
  31. xxl:
  32. job:
  33. enabled: false
  34. ### xxl-job, access token
  35. accessToken: platomix_token
  36. admin:
  37. addresses: http://127.0.0.1:8191/xxl-job-admin
  38. # addresses: http://windata.platomix.net/xxl-job-admin
  39. executor:
  40. ### xxl-job executor address
  41. appname: platomix-etl
  42. groupid: 9 #对应appname的id值
  43. # ip: ''
  44. port: 6971
  45. ### xxl-job log retention days
  46. logretentiondays: 30
  47. ### xxl-job log path
  48. logpath: /data/applogs/xxl-job/jobhandler
  49. mybatis-plus:
  50. configuration:
  51. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  52. spring:
  53. cloud.discovery.client.simple:
  54. # 配置bi服务「bi-service」的ip和端口
  55. instances:
  56. system-service:
  57. - host: 39.99.245.43 #地址
  58. port: 6161 #端口
  59. datasource:
  60. dynamic:
  61. druid:
  62. #初始化大小,最小,最大
  63. initial-size: 0
  64. min-idle: 1
  65. max-active: 1
  66. #获取连接时最大等待时间,单位毫秒。配置了maxWait之后,缺省启用公平锁,
  67. max-wait: 60000
  68. #执行查询的超时时间【单位:秒,最终应用到Statement对象的超时】
  69. query-timeout: 10
  70. #一个事务的超时时间
  71. #transaction-query-timeout: 20
  72. #申请连接时执行validationQuery检测连接是否有效,做了这个配置会降低性能。
  73. test-on-borrow: false
  74. #归还连接时执行validationQuery检测连接是否有效,做了这个配置会降低性能
  75. test-on-return: false
  76. #设置从连接池获取连接时是否检查连接有效性,true时,如果连接空闲时间超过minEvictableIdleTimeMillis进行检查,否则不检查;false时,不检查
  77. test-while-idle: false
  78. #检查连接的方式和超时时间
  79. validation-query: "select 1"
  80. validation-query-timeout: 2000
  81. #配置间隔多久启动一次DestroyThread,对连接池内的连接才进行一次检测,单位是毫秒。
  82. #检测时: 1.如果连接空闲并且超过minIdle以外的连接,如果空闲时间超过minEvictableIdleTimeMillis设置的值则直接物理关闭。
  83. # 2.在minIdle以内的不处理。
  84. time-between-eviction-runs-millis: 60000
  85. #配置一个连接在池中最小生存的时间
  86. min-evictable-idle-time-millis: 180000
  87. #是否超时关闭连接 默认为false 【若为true 就算数据库恢复连接,也无法连接上】
  88. #break-after-acquire-failure: false
  89. #connection-error-retry-attempts: 1
  90. #time-between-connect-error-millis: 500
  91. #打开KeepAlive之后的效果
  92. #1>初始化连接池时会填充到minIdle数量。
  93. #2>连接池中的minIdle数量以内的连接,空闲时间超过minEvictableIdleTimeMillis,则会执行keepAlive操作。
  94. #3>当网络断开等原因产生的由ExceptionSorter检测出来的死连接被清除后,自动补充连接到minIdle数量。
  95. #连接池中的minIdle数量以内的连接,空闲时间超过minEvictableIdleTimeMillis,则会执行keepAlive操作
  96. #每次检查强制验证连接有效性 https://github.com/alibaba/druid/wiki/KeepAlive_cn
  97. #keepAlive: true
  98. #2次keepAlive操作的时间间隔
  99. #keep-alive-between-time-millis: 50000
  100. filters: slf4j
  101. primary: master #设置默认的数据源或者数据源组,默认值即为master
  102. datasource:
  103. master:
  104. driver-class-name: com.mysql.cj.jdbc.Driver
  105. url: jdbc:mysql://39.103.207.159:3306/digital_operation?useSSL=false&useUnicode=true&characterEncoding=utf-8&autoReconnect=true&allowPublicKeyRetrieval=true
  106. username: digital
  107. password: Dgb6inMBYtsMT#rS
  108. # url: jdbc:mysql://121.204.249.37:3306/digital_operation?useSSL=false&useUnicode=true&characterEncoding=utf-8&autoReconnect=true&allowPublicKeyRetrieval=true
  109. # username: root
  110. # password: Platomix@mysql123
  111. apimngr:
  112. insertUrl: http://121.204.252.205:8081/api/apimngr/insertNoAuth