Summary
In this chapter, we covered the basics of asynchronous communication and illustrated how to use it in your microservices. You learned the benefits of asynchronous communication and its common patterns, such as publisher-subscriber and message broker. In addition to this, we covered the basics of the Apache Kafka tool and illustrated how to use it in our microservices by implementing the logic for producing and consuming data from it. This knowledge should help you establish efficient communication between your microservices in a wide variety of scenarios, including complex distributed environments.
In the next chapter, we are going to cover another important topic of microservice development: deployment and orchestration. You will learn how to build and deploy your application so that you can use it in more advanced environments, such as cloud infrastructure.