svr-health-profile.yml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. logging:
  2. level:
  3. com:
  4. netflix: DEBUG
  5. data-source:
  6. driver-class-name: com.mysql.jdbc.Driver
  7. initialize-size: 1
  8. max-total: 20
  9. max-idle: 10
  10. min-idle: 1
  11. validation-query: SELECT 1
  12. test-on-borrow: true
  13. remove-abandoned-timeout: 55
  14. hadoop:
  15. hbase-properties:
  16. - hbase.zookeeper.property.clientPort: 2181
  17. - zookeeper.znode.parent: /hbase-unsecure
  18. spring:
  19. # REDIS
  20. redis:
  21. database: 0 # Database index used by the connection factory.
  22. port: 6379 # Redis server port.
  23. password: # Login password of the redis server.
  24. timeout: 0 # Connection timeout in milliseconds.
  25. #sentinel:
  26. # master: # Name of Redis server.
  27. # nodes: # Comma-separated list of host:port pairs.
  28. pool:
  29. max-active: 8 # Max number of connections that can be allocated by the pool at a given time. Use a negative value for no limit.
  30. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  31. max-wait: -1 # Maximum amount of time (in milliseconds) a connection allocation should block before throwing an exception when the pool is exhausted. Use a negative value to block indefinitely.
  32. min-idle: 1 # Target for the minimum number of idle connections to maintain in the pool. This setting only has an effect if it is positive.
  33. # SOLR (SolrProperties)
  34. data:
  35. solr:
  36. repositories.enabled: true # Enable Solr repositories.
  37. fast-dfs:
  38. pool:
  39. init-size: 5
  40. max-size: 20
  41. wait-time: 500
  42. connect-timeout: 2
  43. network-timeout: 30
  44. charset: ISO8859-1
  45. http:
  46. tracker-http-port: 80
  47. anti-steal-token: no
  48. secret-key: FastDFS1234567890
  49. # CDA类目关键数据集,以此判断CDA文档
  50. cda-document:
  51. primary-data-set:
  52. - HDSC01_02: 0dae000656721083269e0319806c0f22
  53. - HDSC02_09: 0dae0006567210a6269e0319806c0f24
  54. ---
  55. spring:
  56. profiles: dev
  57. redis:
  58. host: 192.168.1.220 # Redis server host.
  59. data:
  60. solr:
  61. zk-host: node1.jkzldev.com,node2.jkzldev.com,node4.jkzldev.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  62. data-source:
  63. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  64. user-name: ha
  65. password: ha
  66. hadoop:
  67. hbase-properties:
  68. - hbase.zookeeper.quorum: node2.jkzldev.com,node1.jkzldev.com,node4.jkzldev.com
  69. fast-dfs:
  70. tracker-server: 172.19.103.54:22122
  71. public-server: http://172.19.103.54:22122
  72. ---
  73. spring:
  74. profiles: test
  75. redis:
  76. host: 172.19.103.47 # Redis server host.
  77. data:
  78. solr:
  79. zk-host: node1.jkzldev.com,node2.jkzldev.com,node4.jkzldev.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  80. data-source:
  81. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  82. user-name: weifuwu
  83. password: weifuwu
  84. hadoop:
  85. hbase-properties:
  86. - hbase.zookeeper.quorum: node2.jkzldev.com,node1.jkzldev.com,node4.jkzldev.com
  87. fast-dfs:
  88. tracker-server: 172.19.103.13:22122
  89. public-server: http://172.19.103.52:80
  90. ---
  91. spring:
  92. profiles: prod
  93. redis:
  94. host: 11.1.2.20 # Redis server host.
  95. data:
  96. solr:
  97. zk-host: node1.jkzldev.com,node2.jkzldev.com,node4.jkzldev.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  98. data-source:
  99. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  100. user-name: ha
  101. password: jkzlxm
  102. hadoop:
  103. hbase-properties:
  104. - hbase.zookeeper.quorum: node2.jkzl.com,node3.jkzl.com,node1.jkzl.com
  105. fast-dfs:
  106. tracker-server: 11.1.2.9:22122
  107. public-server: http://ds.ehr.yihu.com:22122