What is
RabbitMQ
?
RabbitMQ is an open-source messaging and streaming broker. It moves messages from publishers to one or many consumers through queues and streams, so distributed applications, microservices and IoT devices can communicate reliably.
At a glance
Attribute | Value |
|---|---|
Primary use case | Message brokering and event streaming between distributed applications |
Deployment type | Self-managed: cloud environments, on-premises, local machine |
Pricing model | Free open source (MPL 2.0); commercial Tanzu RabbitMQ edition from Broadcom |
API compatibility | Open standard protocols including AMQP 1.0 and MQTT 5.0 |
Supported integrations | Client libraries for multiple programming languages |
Source type | Open |
Key metrics | Vendor-reported: used by millions worldwide |
AEP branch | Tooling |
AEP category | Resources |
AEP subcategory | Messaging |
Profile
RabbitMQ sits between applications as a broker. Publishers send messages to it, and options you combine define how each message reaches one or many consumers. Consumers subscribe to the queues or streams they care about and process messages as they arrive. A single client can publish and consume at the same time. Nodes form a cluster across which messages can be replicated.
Focus
Developers and administrators use RabbitMQ to decouple backend services, dispatch RPC calls, fan out events to independent consumers, and collect data from IoT devices with unreliable connectivity.
Background
RabbitMQ is free and open source under the Mozilla Public License 2.0. Broadcom offers Tanzu RabbitMQ, an enterprise-grade commercial version.
Features
Open protocol support
Supports several open standard protocols, including AMQP 1.0 and MQTT 5.0. Client libraries are available for multiple programming languages.
Flexible message routing
Routing and filtering options can be combined to deliver each message to one or many consumers. This lets one publisher feed several independent processing channels.
Quorum queues and acknowledgments
Delivery acknowledgments and replication of messages across a cluster keep a message safe once it is confirmed. This suits workloads such as orders that must not be lost.
Streams
Events are appended to a stream that many consumers read independently, without duplicating messages. Each consumer can move back and forth in the stream, even when other consumers are reading it at the same time.
Shovels and federation
Shovels and federation chain RabbitMQ deployments together. An edge node can buffer data locally and forward it to an upstream broker once a connection is available.
Pros and cons
Pros
A single broker covers both queue-based messaging and replayable streaming for decoupled services.
Open protocols and multi-language clients let teams change components without rewriting against a proprietary API.
The same broker can be deployed on cloud environments, on-premises and local machines.
Cons
The team deploys, clusters, upgrades and monitors the broker itself.
24/7 expert support, a longer lifecycle and disaster recovery are part of the commercial Tanzu RabbitMQ edition.
Classic queues favour low latency over safety. Messages that cannot be lost need quorum queues with acknowledgments, so queue type is chosen per workload.
FAQs
What is RabbitMQ?
RabbitMQ is a messaging and streaming broker. Applications publish messages to it, and it delivers them to subscribing consumers through queues or streams.
How is RabbitMQ licensed, and what does it cost?
The broker is free and open source under the Mozilla Public License 2.0. Broadcom also offers a paid commercial edition, Tanzu RabbitMQ, with 24/7 support.
Where can RabbitMQ be deployed?
You operate RabbitMQ yourself. It can run in cloud environments, in your own data center or on a developer laptop.
Which protocols and languages does RabbitMQ support?
It speaks several open protocols, including AMQP 1.0 and MQTT 5.0. Client libraries exist for multiple programming languages.
What does Tanzu RabbitMQ add over the open-source broker?
According to Broadcom, the commercial edition adds 24/7 support from the engineers who make the product. It also provides a longer lifecycle, disaster recovery, cloud cost savings and industry compliance.
How does RabbitMQ prevent message loss?
Consumers acknowledge deliveries, and messages can be replicated across a cluster. Combining acknowledgments with quorum queues keeps a message safe once it is confirmed.
