We will use two microservices to demonstrate concepts in this chapter:
- Microservice A: A simple microservice exposing two services--one to retrieve a message from the configuration file and another random service providing a list of random numbers.
- Service consumer microservice: A simple microservice exposing a simple calculation service called the add service. The add service consumes the random service from Microservice A and adds the numbers up.
The following figure shows the relationship between the microservices and the services that are exposed:
![](https://static.packt-cdn.com/products/9781787123175/graphics/assets/1f95530f-f378-4100-8d83-68178a2f2052.png)
Let's quickly set up these microservices.