Self-host RabbitMQ
v4.4.1Multi-protocol messaging and streaming broker
docker run -it --rm --name rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq:4-management- Stars
- 13 974
- Ports
- 5672 (AMQP 0-9-1 and AMQP 1.0 client connections (non-TLS)), 5671 (AMQP 0-9-1 and AMQP 1.0 over TLS), 5552 (RabbitMQ Stream protocol clients (non-TLS)), 15672 (HTTP API, management UI and rabbitmqadmin (management plugin)), 15692 (Prometheus metrics export (Prometheus plugin)), 1883 (MQTT clients when the MQTT plugin is enabled), 61613 (STOMP clients when the STOMP plugin is enabled), 25672 (Inter-node and CLI tool communication (Erlang distribution port))
rabbitmqWhat is RabbitMQ?
RabbitMQ is a feature-rich open-source broker for messaging and streaming, widely used to decouple microservices, dispatch RPC-style work, buffer IoT connections and fan out event streams. One node accepts AMQP 0-9-1, AMQP 1.0, MQTT 3.x/5.0, STOMP 1.0-1.2 and the RabbitMQ Stream protocol, with MQTT and STOMP also available over WebSockets, so clients in many languages can talk to it over open standards without vendor lock-in. Messages travel through exchanges with routing and filtering, delivery can be acknowledged and confirmed, and durability comes from replicated quorum queues plus append-only, replicated streams with non-destructive consumers. Nodes form clusters, while federation and shovels chain deployments across datacenters or clouds. Day-to-day operation uses a browser-based management UI, an HTTP API, rabbitmqadmin and the rabbitmqctl CLI, and metrics can be scraped in Prometheus format with ready-made Grafana dashboards. Access control supports internal users plus LDAP, OAuth 2 and HTTP backends, and every protocol can run over TLS. You can run it yourself from the community Docker image, Team RabbitMQ's apt or RPM repositories, a generic UNIX binary, a Windows installer or Chocolatey package, Homebrew on macOS, or the Kubernetes cluster operator the vendor publishes for it. A supported Erlang/OTP release is required (packages install it for you). The broker itself is MPL-2.0 licensed and free; longer support lifecycles, disaster recovery and round-the-clock vendor support belong to the commercial Tanzu editions, and the default seeded user is restricted to localhost for safety.
RabbitMQ alternatives
VerneMQVerneMQ is a self-hosted, open-source MQTT broker built on Erlang/OTP that scales to handle millions of IoT connections with low latency and fault tolerance.CompareVerneMQ with RabbitMQ
automqSelf-hosted, open-source Apache Kafka fork with stateless brokers that store logs on S3 or MinIO and rebalance partitions in seconds.Compareautomq with RabbitMQ
MosquittoEclipse Mosquitto - An open source MQTT brokerCompareMosquitto with RabbitMQ
Eclipse MosquittoSelf-hosted open-source MQTT broker for MQTT 5.0, 3.1.1 and 3.1 with TLS, WebSockets, bridging, ACLs and a C client library plus CLI pub/sub tools.CompareEclipse Mosquitto with RabbitMQ
EMQXThe most scalable and reliable MQTT broker for AI, IoT, IIoT and connected vehiclesCompareEMQX with RabbitMQ
ejabberdejabberd is a self-hosted, open-source XMPP/MQTT/SIP server in Erlang, proven at massive scale with 2M+ concurrent users per node.Compareejabberd with RabbitMQ
nsqOpen-source self-hosted distributed messaging platform: push-based pub-sub over topics and channels, in-memory queues that spill to disk, plus the nsqadmin web UI.Comparensq with RabbitMQ
mqttuiMQTTUI is a self-hosted, open-source web app for monitoring and automating MQTT infrastructure with multi-broker support, rules engine, and alerting.Comparemqttui with RabbitMQ
Should you self-host RabbitMQ?
RabbitMQ scores 77/100 on selfhost.directory (how scoring works) and ranks #3 of 12 in Message Broker. It has 13 974 GitHub stars, +57 in the last 30 days.
It shipped 16 stable releases in the past year. The latest, v4.4.1, came out on 16 November 2026. New versions land roughly every 3 weeks.
Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is Other-licensed and written mostly in JavaScript.
Its closest alternative on selfhost.directory is Apache Kafka (82/100, 34 224 stars). It scores higher overall, so compare the two before you pick. See RabbitMQ vs Apache Kafka side by side.
Features
- CLI administration tools
- Clustering and replication
- Federation
- Message acknowledgements and publisher confirms
- Message routing and filtering
- MQTT/STOMP over WebSockets
- Multi-protocol messaging
- Prometheus metrics endpoint
- Quorum queues
- REST/HTTP management API
- Shovel message forwarding
- Stream (log) consumption
- TLS Encryption
- Web-based management UI
RabbitMQ README
RabbitMQ is a feature rich, multi-protocol messaging and streaming broker. It supports:
- AMQP 1.0
- AMQP 0-9-1
- RabbitMQ Stream Protocol
- MQTT 3.1, 3.1.1, and 5.0
- STOMP 1.0 through 1.2
- MQTT over WebSocket
- STOMP over WebSocket
- AMQP 1.0 over WebSocket (supported in VMware Tanzu RabbitMQ)
More in Message Broker
RedisRedis is a self-hosted, open-source in-memory data structure server used as a database, cache, message broker, and vector query engine with sub-millisecond latency.
ValkeySelf-hosted, open-source Valkey is an in-memory key-value database for caching, queues and primary data, with replication, Sentinel failover and cluster sharding.
activemqThe open-source, self-hosted Apache ActiveMQ message broker handles JMS, AMQP, MQTT, STOMP and REST traffic from Java, C, Python and .Net clients.
Apache KafkaApache Kafka is a self-hosted, open-source event streaming platform for high-performance data pipelines and mission-critical applications.
automqSelf-hosted, open-source Apache Kafka fork with stateless brokers that store logs on S3 or MinIO and rebalance partitions in seconds.
beanstalkdbeanstalkd is a self-hosted, open-source work queue: a small C daemon where producers put jobs into named tubes and workers reserve, bury or kick them over plain TCP.
BunkerMBunkerM is a self-hosted, open-source MQTT platform bundling Eclipse Mosquitto with a web dashboard, ACL management, message history, anomaly detection, and AI.
Eclipse MosquittoSelf-hosted open-source MQTT broker for MQTT 5.0, 3.1.1 and 3.1 with TLS, WebSockets, bridging, ACLs and a C client library plus CLI pub/sub tools.
forqForq is a self-hosted, open-source message queue on SQLite running as a single binary or Docker container with admin UI, metrics, DLQ, and SDKs.
gearmandGearman is a self-hosted, open-source job server for parallel processing, load balancing, and cross-language function calls.
HiveMQ Community EditionHiveMQ Community Edition is an open-source Java MQTT broker with full MQTT 3.x and MQTT 5 support, TLS and WebSocket listeners, a Java extension SDK and an embedded mode.
logging-flumeOpen-source, self-hosted ingestion service from Apache: streaming agents with sources, channels and sinks move large amounts of log data to HDFS, Kafka or HBase.
0 comments