flâneur — a map of the web's best reading

RabbitMQ tutorial - Publish/Subscribe — RabbitMQ

rabbitmq.com · 1,481 words · saved by 1 readers

This tutorial assumes RabbitMQ is installed and running on localhost on the standard port (5672). In case you use a different host, port or credentials, connections settings would require adjusting. If you're having trouble going through this tutorial you can contact us through the mailing list or RabbitMQ community Slack. As with other Python tutorials, we will use the Pika RabbitMQ client version 1.0.0. In the previous tutorial we created a work queue. The assumption behind a work queue is that each task is delivered to exactly one worker. In this part we'll do something completely different -- we'll deliver a message to multiple consumers. This pattern is known as "publish/subscribe". To illustrate the pattern, we're going to build a simple logging system. It will consist of two programs -- the first will emit log messages and the second will receive and print them. In our logging system every running copy of the receiver program will get the messages. That way we'll be able to run

On this page Publish/Subscribe ​ (using the Pika Python client) ​ info Prerequisites ​ This tutorial assumes RabbitMQ is installed and running on localhost on the standard port (5672). In case you use a different host, port or credentials, connections settings would require adjusting. Where to get help ​ If you're having trouble going through this tutorial you can contact us through GitHub Discussions or RabbitMQ community Discord . Prerequisites ​ As with other Python tutorials, we will use the Pika RabbitMQ client version 1.0.0 . What This Tutorial Focuses On ​ In the previous tutorial we cr

Explore this link on the map →

related reading