application-xxw.yml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. # 数据源配置
  2. spring:
  3. kafka:
  4. bootstrap-servers: app2833:9094,app2834:9094,app2835:9094,app2836:9094,app2837:9094
  5. #bootstrap-servers: localhost:9092
  6. consumer:
  7. # 自动提交的时间间隔 在spring boot 2.X 版本中这里采用的是值的类型为Duration 需要符合特定的格式,如1S,1M,2H,5D
  8. auto-commit-interval: 1S
  9. # 该属性指定了消费者在读取一个没有偏移量的分区或者偏移量无效的情况下该作何处理:
  10. # latest(默认值)在偏移量无效的情况下,消费者将从最新的记录开始读取数据(在消费者启动之后生成的记录)
  11. # earliest :在偏移量无效的情况下,消费者将从起始位置读取分区的记录
  12. auto-offset-reset: latest
  13. # 是否自动提交偏移量,默认值是true,为了避免出现重复数据和数据丢失,可以把它设置为false,然后手动提交偏移量
  14. enable-auto-commit: false
  15. key-deserializer: org.apache.kafka.common.serialization.StringDeserializer
  16. value-deserializer: org.apache.kafka.common.serialization.StringDeserializer
  17. properties:
  18. security:
  19. protocol: SASL_PLAINTEXT
  20. sasl:
  21. mechanism: SCRAM-SHA-512
  22. jaas:
  23. config: 'org.apache.kafka.common.security.scram.ScramLoginModule required username="user01" password="8b9dcf43";'
  24. listener:
  25. # 在侦听器容器中运行的线程数。
  26. concurrency: 5
  27. #listner负责ack,每调用一次,就立即commit
  28. ack-mode: manual_immediate
  29. missing-topics-fatal: false
  30. datasource:
  31. master: # 数据源1
  32. jdbc-url: jdbc:mysql://74.10.28.2:3389/ax_seat_1?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  33. username: ax_tj_lh
  34. password: Taiji@2022#lh
  35. driver-class-name: com.mysql.jdbc.Driver
  36. slave: # 数据源2
  37. jdbc-url: jdbc:mysql://74.10.28.2:3389/ax_seat_1?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  38. username: ax_tj_lh
  39. password: Taiji@2022#lh
  40. driver-class-name: com.mysql.jdbc.Driver
  41. # 项目相关配置
  42. seat:
  43. # 名称
  44. name: Seat
  45. # 版本
  46. version: 3.5.0
  47. # 版权年份
  48. copyrightYear: 2021
  49. # 实例演示开关
  50. demoEnabled: true
  51. # 文件路径 示例( Windows配置D:/seat/uploadPath,Linux配置 /home/seat/uploadPath)
  52. profile: /home/seat/uploadPath
  53. # 获取ip地址开关
  54. addressEnabled: false
  55. # 验证码类型 math 数组计算 char 字符验证
  56. captchaType: char
  57. # 推送预警规则topic名称
  58. topic1: warning_rule
  59. topic:
  60. dynamic_ais: test_merge1
  61. static_ais: test_merge2
  62. tianao_radar: taiji_ax_tianao_radar_fusion
  63. hlx_fusion: taiji_ax_hlx_fusion_bs_data
  64. hlx_cs_fusion: taiji_ax_hlx_fusion_cs_data
  65. hsj_ais: taiji_ax_dsjj_hsj_ais
  66. ztpt_ais: taiji_ax_ztpt_dynamic_ais
  67. statics_ais: statics_ais
  68. merge_ais: taiji_ax_ship_dynamic_fusion
  69. bd_ais: taiji_ax_beidou_dynamic_ship
  70. groupid:
  71. dynamic_ais: monitor_20220901
  72. static_ais: monitor_20220901
  73. tianao_radar: monitor_20220901
  74. hlx_fusion: monitor_20220901
  75. hlx_cs_fusion: monitor_20220901
  76. hsj_ais: monitor_20220901
  77. ztpt_ais: monitor_20220901
  78. statics_ais: monitor_20220901
  79. merge_ais: monitor_20220901
  80. bd_ais: monitor_20220901
  81. infovision:
  82. ip: 74.10.28.97 #host
  83. port: 443 #port
  84. appkey: 26491753 #key
  85. secret: nSWbgqChFBSdGPSnb59i #secret
  86. cameradefault:
  87. p: 352
  88. t: -9
  89. z: 1
  90. punit: 15
  91. plen: 1.23
  92. tunit: 6
  93. zunit: 9