Implementing microservices with .NET worker services and message brokers
This section explains the modifications needed to use a message broker instead of gRPC communication with an internal queue. This kind of solution is usually more difficult to test and design but allows for better horizontal scaling.
The message broker used in this example is RabbitMQ. However, we could also replace it with Azure Service Bus using the code available in the GitHub repository associated with the book. The next subsection explains how to install RabbitMQ on your development machine.
Installing RabbitMQ
Before installing RabbitMQ, you need to install Erlang from the link given in the Technical requirements section. Just download and execute the installer from an administrative account. After that, you can download and install RabbitMQ from the link in the Technical requirements section.
If installation is successful, you should find a service called RabbitMQ among your machine’...