Created
September 1, 2021 19:49
-
-
Save krnbr/e3b1855e711fdb7a8b31cf53935c00cf to your computer and use it in GitHub Desktop.
application.yaml for the article
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resilience4j: | |
circuitbreaker: | |
instances: | |
mockService: | |
slidingWindowSize: 3 | |
slidingWindowType: COUNT_BASED | |
#waitDurationInOpenState: 5 | |
waitInterval: 10000 | |
failureRateThreshold: 50 | |
permittedNumberOfCallsInHalfOpenState: 5 | |
registerHealthIndicator: true | |
#register-health-indicator: true | |
allowHealthIndicatorToFail: true | |
configs: | |
default: | |
registerHealthIndicator: true | |
management.health.circuitbreakers.enabled: true | |
management: | |
endpoint: | |
health: | |
show-details: always | |
downstream: | |
mock: | |
base: http://localhost:63553/ | |
path: v1/mock/downstream | |
url: ${downstream.mock.base}${downstream.mock.path} | |
server: | |
port: 63080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment