Guest User

Untitled

a guest
Feb 13th, 2018
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.70 KB | None | 0 0
  1. #
  2. # Spring Service Configuration
  3. #
  4. server:
  5. port: 8000
  6.  
  7. #
  8. # Microservice Service Registration
  9. #
  10. microservice:
  11. basePath: services
  12. server:
  13. name: repository/content/v1
  14. collection:
  15. count:
  16. ignoredJitterSeconds: 30
  17.  
  18. spring:
  19. executors:
  20. item-service:
  21. # This might be too low, but with the switch to ES batch soon it shouldn't matter
  22. maximumPoolSize: 50
  23. # This is very high, but the use of a LinkedBlockingQueue scales up to the limit gradually
  24. maximumQueueSize: 1000
  25. # To prevent excessive consumption of memory, when the queue is blocked the caller should run - thereby throttling
  26. # the activemq consumer
  27. rejectedExecutionPolicy: CallerRuns
  28.  
  29. #
  30. # Zookeeper Connection
  31. #
  32. zookeeper:
  33. connectionString: localhost:2181
  34. retry:
  35. wait: 1000
  36. count: 3
  37.  
  38. #
  39. # MongoDB Connection
  40. #
  41. mongo:
  42. auth-db: content-repository
  43. connectionString: localhost:27017
  44. db: content-repository
  45. user: content-repository
  46. password: content-repository
  47.  
  48. #
  49. # Elasticsearch Connection
  50. #
  51. elasticsearch:
  52. ribbon:
  53. eureka:
  54. enabled: false
  55. listOfServers: localhost:9200
  56. serverListRefreshInterval: 15000
  57. searchEndpoint: /
  58. clusterName: content-repository
  59. indexName: content-repository
  60. aggregation:
  61. enabled: true
  62. maximumDelay: 500
  63. maximumMessages: 1000
  64. bulk:
  65. maximumActions: 1000
  66. maximumSize: 1048576
  67. retry:
  68. initial:
  69. interval: 500
  70. interval:
  71. multiplier: 4.0
  72. maximum:
  73. attempts: 5
  74. secure: false
  75. # user: <USERNAME>
  76. # password: <PASSWORD>
  77.  
  78. # disable management security
  79. management:
  80. security:
  81. enabled: false
  82.  
  83. #
  84. # Swagger documentation configuration
  85. #
  86. springfox:
  87. documentation:
  88. swagger:
  89. v2:
  90. path: /api-docs
Add Comment
Please, Sign In to add comment