Message brokers and queues
Message brokers translate messages from one application to another. Clients of message brokers use APIs to send messages that are serialized to a specific format and subscribe to queues to be notified about all the new messages. There is the AMQP (short for Advanced Message Queuing Protocol) protocol, which provides a common API that's compatible with different products.
The main concept of message brokers is the queue. It is an abstraction that represents an entity used to collect messages until they will be consumed by clients.
Why is the concept of message brokers cool? Because it's the simplest way to achieve loose coupling for services and maintain the possibility of smooth updates. You can use a common message ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access