Asynchronous Microservices
Microservices are designed to be independent and self-contained. Clearly defined communication protocols and APIs ensure these services interact without relying on each other’s internal workings. Defining proper communication between microservices is important for a well-functioning microservices architecture.
In this chapter, we plan to discuss and learn about another important communication mechanism: asynchronous communication between microservices.
This chapter covers the following topics:
- Understanding the requirements
- Exploring asynchronous communication
- Implementing an asynchronous transaction microservice
- Adapting an account service to new requirements
- Testing our microservices together
Let’s get into it!