Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Circuitbreaker instance named "" (empty string) is not listed in health endpoint after application restart #12

Open
s-nithya opened this issue Oct 20, 2020 · 0 comments

Comments

@s-nithya
Copy link

s-nithya commented Oct 20, 2020

In a Spring Boot application, we have created 2 circuitbreaker instances "testCB" and ""(empty string). "" instance will use default configuration provided by the resilience4j library and custom configuration is defined for "testCB".

We created "" - (@CIRCUITBREAKER(name="") instance to get the default configuration.

In application.properties, we have specified the below properties resilience4j.circuitbreaker.configs.default.registerHealthIndicator=true
resilience4j.circuitbreaker.instances.testCB.registerHealthIndicator=true

Once the application is started, in actuator/health endpoint only details of testCB is displayed whereas "" instance details are displayed only after an event is registered in that instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant