svr-quota.yml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. spring:
  2. # REDIS
  3. redis:
  4. database: 0 # Database index used by the connection factory.
  5. timeout: 0 # Connection timeout in milliseconds.
  6. pool:
  7. 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.
  8. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  9. 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.
  10. 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.
  11. datasource:
  12. driver-class-name: com.mysql.jdbc.Driver
  13. max-active: 20
  14. max-idle: 8
  15. min-idle: 8
  16. validation-query: SELECT 1
  17. test-on-borrow: true
  18. hadoop:
  19. hbase-properties:
  20. hbase.zookeeper.property.clientPort: 2181
  21. zookeeper.znode.parent: /hbase-unsecure
  22. user:
  23. name: root
  24. elasticsearch:
  25. pool:
  26. init-size: 5
  27. max-size: 10
  28. ---
  29. spring:
  30. profiles: dev
  31. datasource:
  32. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  33. username: chenweishan
  34. password: chenweishan
  35. redis:
  36. host: 172.19.103.47
  37. port: 6379
  38. password: redis!@456
  39. data:
  40. solr:
  41. zk-host: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com:2181/solr
  42. elasticsearch:
  43. jest:
  44. uris: http://172.19.103.9:9200
  45. elasticsearch:
  46. cluster-name: elasticsearch
  47. cluster-nodes: 172.19.103.9:9300
  48. hadoop:
  49. hbase-properties:
  50. hbase.zookeeper.quorum: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com
  51. ---
  52. spring:
  53. profiles: prod
  54. datasource:
  55. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  56. username: chenweishan
  57. password: chenweishan
  58. redis:
  59. host: 172.19.103.47 # Redis server host.
  60. port: 6379
  61. password: redis!@456
  62. data:
  63. solr:
  64. zk-host: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  65. elasticsearch:
  66. jest:
  67. uris: http://172.19.103.9:9200
  68. elasticsearch:
  69. cluster-name: elasticsearch
  70. cluster-nodes: 172.19.103.9:9300
  71. hadoop:
  72. hbase-properties:
  73. hbase.zookeeper.quorum: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com