Message Brokers
As we saw in Chapter 2, The Producer-Consumer Pattern, the producer-consumer pattern is a highly effective way to handle messages at scale. Some of the scalability benefits can be seen in how programs can implement this pattern, while others can be seen in the infrastructure that enables the pattern. This chapter intends to dive deeper into message brokers while covering the following topics:
- What is a message broker?
- Inspecting messaging protocols, schemas, and delivery patterns
- Implementing message broker technologies
By the end of this chapter, you will be able to do the following:
- Understand the concept of a message broker and how it is used in the scope of the event-driven architecture (EDA).
- Know how to use schemas for messages, various protocols that are used to send and receive messages, and their delivery options
- Know how to use specific implementations of message brokers and how to decide on the right technology