Example
Explore how to implement RESTful microservices by integrating Consul for service discovery and Apache httpd for HTTP request routing. This lesson guides you through building and running three microservices within Docker containers, managing their UI and REST interfaces, and accessing them externally through Apache httpd.
We'll cover the following...
We'll cover the following...
The domain structure is identical to the example in the Netflix chapter (chapter 10) (see the drawing below) and consists of three microservices.
-
The catalog microservice manages the information such as price and name for the items that can be ordered.
-
The customer microservice stores customer data.
-
The order microservice can accept new orders. It uses the catalog and customer microservice. ...