This repository contains the runnable code examples that accompany the official RabbitMQ tutorials. RabbitMQ is a message broker, which is a piece of software that sits between different parts of an application (or between separate applications) and handles the passing of messages from one part to another. It is commonly used to let different services communicate without being directly connected, which helps with things like background job processing, distributing work across multiple workers, or publishing events that multiple consumers can receive. The tutorials themselves are hosted on the RabbitMQ website and walk through progressively more complex messaging patterns: sending a simple message, distributing tasks across worker processes, broadcasting to multiple receivers, routing messages to specific destinations, and more. This repository holds only the actual code so developers can run the examples locally while following along with the written guides. All examples require a RabbitMQ server running locally with default settings. Installation options for that server are covered in RabbitMQ's own documentation and include a Windows installer, a Docker image, Homebrew on macOS, and packages for Linux distributions. The same tutorial patterns are implemented in more than 20 programming languages, all included in this single repository. Languages covered include Python, Java, Go, Ruby, JavaScript with Node.js, PHP, Rust, Elixir, Kotlin, Scala, Haskell, Clojure, Erlang, Dart, Perl, Swift, C#, and Spring AMQP, among others. Each language has its own subdirectory with self-contained code. The project is maintained by the RabbitMQ team and released under the Apache License 2.0.
← rabbitmq on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.