application.yml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. logging:
  2. level:
  3. org.apache.flink.runtime.checkpoint: warn
  4. org.apache.flink.runtime.source.coordinator.SourceCoordinator: warn
  5. com.ververica.cdc.connectors.mysql.source.reader.MySqlSourceReader: warn
  6. flink:
  7. cdc:
  8. mysql:
  9. hostname: gz-cdb-of55khc9.sql.tencentcdb.com
  10. port: 23620
  11. databaseList: fs_hospital
  12. tableList: fs_hospital.fs_user
  13. username: root
  14. password: Rtyy_2023
  15. serverTimeZone: Asia/Shanghai
  16. startupOptions: latest # 可选值: latest, initial, specificOffset, timestamp
  17. checkpoint:
  18. interval: 3000 # 单位:毫秒
  19. parallelism:
  20. source: 1
  21. sink: 1
  22. # 开发环境配置
  23. server:
  24. # 服务器的HTTP端口,默认为 7011 store 7111
  25. port: 7015
  26. servlet:
  27. # 应用的访问路径
  28. context-path: /
  29. tomcat:
  30. # tomcat的URI编码
  31. uri-encoding: UTF-8
  32. # tomcat最大线程数,默认为200
  33. max-threads: 800
  34. # Tomcat启动初始化的线程数,默认值25
  35. min-spare-threads: 30
  36. # Spring配置
  37. spring:
  38. main:
  39. web-application-type: none
  40. # 资源信息
  41. messages:
  42. # 国际化资源文件路径
  43. basename: i18n/messages
  44. profiles:
  45. active: dev
  46. include: config