Summary
In this chapter, you learned how to decouple services by using asynchronous communication technologies, messages, and events. With Microsoft Azure, we used queues from an Azure Storage Account and events from Azure Event Hubs. Instead of using these PaaS services, you can also run Kafka within a Docker container in an Azure Container Apps environment, but you need to configure this with the app model.
You also learned the differences between using message queues and a publish/subscribe event model with multiple subscribers.
Be sure to check out the .NET Aspire component for Azure Service Bus in the Further reading section. This service offers more features with message queues, and you’ll learn about some concepts you already know about from Apache Kafka.
After all the different services, in the next chapter we’ll look into what more we should think about when deploying the application to the production environment, and we’ll deploy the solution...