Summary
In this chapter, we have covered the basics of asynchronous communication and illustrated how to use it in your microservices. You have learned the benefits of asynchronous communication and the common patterns, such as publisher-subscriber and message broker. In addition to this, we have covered the basics of the Apache Kafka message broker and illustrated how to use it in our microservices and how to implement the logic for producing and consuming data from it.
In the next chapter, we are going to cover another important topic of microservice development – data storage. You will learn how to persist and read different types of service data, as well as how to implement the logic for working with MySQL database in your Go microservices.