rabbitmq-tutorials/python-stream/README.md
Daniele 12bc3c36c1
Python stream tutorial 2 (#439)
* Adding tutorial_2 python example

* replacing signal with KeyboardInterrupt

* fixing first_offset issue
2024-08-06 18:17:56 +02:00

727 B

Python code for RabbitMQ tutorials

Here you can find Python code examples from RabbitMQ tutorials.

Requirements

These examples use the qweeze/rstream client library.

Get it first with the necessary dependencies:

 pip3 install -r requirements.txt

Code

Code examples are executed via python3:

Tutorial one: "Hello World!":

python3 send.py
python3 receive.py

Tutorial two: "Offset tracking":

python3 offset_tracking_send.py
python3 offset_tracking_receive.py

To learn more, see rqweeze/rstream.