Asynchronous Messaging Microservice

In the previous chapters, we looked at very interesting patterns that mostly work with direct sequential communication between microservices. In this chapter, we will understand and apply the asynchronous messaging design pattern. For this, we will create another microservice, RecommendationService, which will be responsible for indicating what kind of news each registered user of our application is most interested in.

In the course of this chapter, we will practice all the concepts of the asynchronous messaging design pattern. By the end, we will be able to identify where and when to apply it.

This chapter will cover:

  • Domain definition 
  • Data definition
  • Applying the message broker
  • Pattern scalability

Get Microservice Patterns and Best Practices 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.