Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # Spring Service Configuration
- #
- server:
- port: 8000
- #
- # Microservice Service Registration
- #
- microservice:
- basePath: services
- server:
- name: repository/content/v1
- collection:
- count:
- ignoredJitterSeconds: 30
- spring:
- executors:
- item-service:
- # This might be too low, but with the switch to ES batch soon it shouldn't matter
- maximumPoolSize: 50
- # This is very high, but the use of a LinkedBlockingQueue scales up to the limit gradually
- maximumQueueSize: 1000
- # To prevent excessive consumption of memory, when the queue is blocked the caller should run - thereby throttling
- # the activemq consumer
- rejectedExecutionPolicy: CallerRuns
- #
- # Zookeeper Connection
- #
- zookeeper:
- connectionString: localhost:2181
- retry:
- wait: 1000
- count: 3
- #
- # MongoDB Connection
- #
- mongo:
- auth-db: content-repository
- connectionString: localhost:27017
- db: content-repository
- user: content-repository
- password: content-repository
- #
- # Elasticsearch Connection
- #
- elasticsearch:
- ribbon:
- eureka:
- enabled: false
- listOfServers: localhost:9200
- serverListRefreshInterval: 15000
- searchEndpoint: /
- clusterName: content-repository
- indexName: content-repository
- aggregation:
- enabled: true
- maximumDelay: 500
- maximumMessages: 1000
- bulk:
- maximumActions: 1000
- maximumSize: 1048576
- retry:
- initial:
- interval: 500
- interval:
- multiplier: 4.0
- maximum:
- attempts: 5
- secure: false
- # user: <USERNAME>
- # password: <PASSWORD>
- # disable management security
- management:
- security:
- enabled: false
- #
- # Swagger documentation configuration
- #
- springfox:
- documentation:
- swagger:
- v2:
- path: /api-docs
Add Comment
Please, Sign In to add comment