In this tutorial we will understand how Asynchronous Communication between Microservices work. In our Pizza Drone Delivery application we have 2 Microservices – CommandCenter and ProcessCenter. They communicate with one another synchronously using HttpClient class. We will change this communication to Asynchronous one by using RabbitMQ which is an open-source message broker.
(more…)
In a Microservices architecture there are lots of URL where request to the microservices is made. Therefore, API Gateway like Ocelot comes to be very handy. An API Gateway transforms the Incoming HTTP Request from the client and forward it to an appropriate Microservice. Ocelot has a JSON configuration file that states the upstream and downstream routes.
(more…)
In the last tutorial we build our first Microservice for drone pizza delivery application. That Microservice was called by the name CommandCenter. In this tutorial we will build the second microservice for the application and this microservice will be called ProcessCenter microservice. This second microservice will communicate with the first microservice in synchronous manner.
(more…)