In this chapter, we learned about some messaging theory and Apache Kafka and NSQ. Messaging plays a key role in building microservices. We also describeed various messaging patterns like request-reply, fanout, pipes-and-filters with working code.
In the next chapter, we will learn about building APIs.