RabbitMQ tutorial - Publish/Subscribe — RabbitMQ
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
- RabbitMQ tutorial - Routing | RabbitMQrabbitmq.com
- RabbitMQ tutorial - Topics | RabbitMQrabbitmq.com
- RabbitMQ tutorial - "Hello world!" | RabbitMQrabbitmq.com
- RabbitMQ tutorial - Work Queues | RabbitMQrabbitmq.com
- RabbitMQ tutorial - Reliable Publishing with Publisher Confirms | RabbitMQrabbitmq.com
- RabbitMQ tutorial - Remote procedure call (RPC) | RabbitMQrabbitmq.com
- When to use RabbitMQ over Kafka? - Stack Overflowstackoverflow.com
- RabbitMQ vs Redis OSS - Difference Between Pub/Sub Messaging Systems - AWSaws.amazon.com
- When to use RabbitMQ or Apache Kafka - CloudAMQPcloudamqp.com
- System Design, Chapter 7: Queuescharlieinden.github.io
- Amazon SQS FAQs | Message Queuing Service | AWSaws.amazon.com
- Mosquitto MQTT Bridge-Usage and Configurationsteves-internet-guide.com