Microservice communication

The subject of this book talks about communication between microservices. The best way to address this is in a practical way, and we will understand this communication as we develop our orchestrator_news_service microservice.

First, let's understand how we will apply the communication flow. To do this, let's observe the following diagram. The UI makes a request that passes through the Load Balancer and arrives at the NewOrchestrator, which is our microservice responsible for orchestrating the news data. After that, the orchestrator writes in the Message Broker (in our case, a RabbitMQ), a message saying what data types the UI has requested to be orchestrated.

Each News microservice knows exactly what kind of message ...

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.