-
Notifications
You must be signed in to change notification settings - Fork 541
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
dependency cycle when Use my own ConsulServiceRegistry with spring-boot-starter-actuator #831
Comments
I'm having the same issue, but without overriding anything from consul, just having |
in
You can check the
|
Copying the cycle here for clarity
Here is my analysis:
WebServerInitializedEvent is the only event type that Unfortunately I don't have time to test this hypothesis, but I would be glad if someone could do it and submit a PR if everything works fine. |
When consul set with
discovery.heartbeat.enabled=true
andspring-boot-starter-actuator's health endpoint
enabled.At same time,
spring-boot-starter-data-mongodb
also added. Use my ownConsulServiceRegistry
.Startup and comes with dependency cycle for consul's TtlScheduler!
Here is my example with logs, spring_consul_err.
The text was updated successfully, but these errors were encountered: