back soft

مطالب مرتبط با «how can we stop pollution» در back soft | نویسنده: استخدام کار

How can we discover a service in Eureka using a qualifying property with Spring Cloud and Spring Boot

Vote count: 0 We have about 50 microservices developed using Spring Boot. We used Spring Cloud for registering services with Eureka and invoke the service from the consumer using Feign. The contract is pretty standard, where the consumer uses an interface with @FeignClient("") aotation to locate a service that's registered as foo with Eureka. The registration, lookup and invocation on the target service all works as expected with one or multiple instances of the service ruing. We have a new requirement where the same service foo may be ruing multiple instances where each instance has a specific stereotype or designation. For example, 1 instance of foo is expected to deal with 3rd party integ...

ادامه مطلب