Spring Boot microservices – dependency

Published

There are two microservices deployed with docker compose. A dependecy between services is defined in docker compose file by depends_on property. Is it possible to achieve the same effect implicitly, inside the spring boot application?

Let’s say the microservice 1 depends on microservice 2. Which means, microsearvice 1 doesn’t boot up before microservice 2 is healthy or registered on Eureka server.

Source: Docker Questions

Published
Categorised as docker, microservices, netflix-eureka, spring-boot Tagged , , ,

Answers

Leave a Reply

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq