© Sean Whitesell, Rob Richardson, Matthew D. Groves 2022
S. Whitesell et al.Pro Microservices in .NET 6https://doi.org/10.1007/978-1-4842-7833-8_5

5. Microservice Messaging

Sean Whitesell1  , Rob Richardson2 and Matthew D. Groves3
(1)
KIEFER, OK, USA
(2)
Gilbert, AZ, USA
(3)
Grove City, OH, USA
 

So far, you have learned how to create microservices using RPC communication. You also learned how it is synchronous communication requiring a request and a response. In this chapter, you will create two microservices using messaging’s asynchronous communication method to fulfill some business needs regarding invoice management.

Issues with Synchronous Communication

Before we dive into messaging communication, let us first understand why messaging is a viable option. ...

Get Pro Microservices in .NET 6: With Examples Using ASP.NET Core 6, MassTransit, and Kubernetes now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.