April 2018
Intermediate to advanced
432 pages
10h 38m
English
Let me back up for a moment to the last example. I'm going to propose some changes to complicate our system architecture a little. The current architecture is visualized in the following diagram. The communication model between microservices is still the same, but now we launch two instances of every microservice and divide them into two different zones. A zoning mechanism has been already discussed in Chapter 4, Service Discovery, when talking about service discovery with Eureka, so I assume it is well known to you. The main purpose of this exercise is not only to show how to use Feign client, but also how a zoning mechanism works in communication between instances of microservices. Let's start with the basics ...