svr-health-profile.yml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  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. ---
  72. spring:
  73. profiles: test
  74. redis:
  75. host: 172.19.103.47 # Redis server host.
  76. data:
  77. solr:
  78. zk-host: node1.jkzldev.com,node2.jkzldev.com,node4.jkzldev.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  79. data-source:
  80. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  81. user-name: weifuwu
  82. password: weifuwu
  83. hadoop:
  84. hbase-properties:
  85. - hbase.zookeeper.quorum: node2.jkzldev.com,node1.jkzldev.com,node4.jkzldev.com
  86. fast-dfs:
  87. tracker-server: 172.19.103.13:22122
  88. ---
  89. spring:
  90. profiles: prod
  91. redis:
  92. host: 11.1.2.20 # Redis server host.
  93. data:
  94. solr:
  95. zk-host: node1.jkzldev.com,node2.jkzldev.com,node4.jkzldev.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  96. data-source:
  97. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  98. user-name: ha
  99. password: jkzlxm
  100. hadoop:
  101. hbase-properties:
  102. - hbase.zookeeper.quorum: node2.jkzl.com,node3.jkzl.com,node1.jkzl.com
  103. fast-dfs:
  104. tracker-server: 11.1.2.9:22122