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:

Let's quickly set up these microservices.