kombu-examples

This repository contains examples of using Python 3 and Kombu to interact with RabbitMQ. I created it to contain code used in the following articles I have written:

Pre-requisites

For these example to run it is assumed that RabbitMQ is installed and running locally on port 5672.

Quick start

Run:

pip install -r requirements.txt

Run the basic producer to add a message to a queue called "example-queue":

python basic-producer.py

Then run the basic consumer that will print out the message to the terminal:

python basic-consumer.py