rabbitmq-tutorials/python-stream
2024-08-19 09:49:17 +02:00
..
offset_tracking_receive.py Python stream tutorial 2 (#439) 2024-08-06 18:17:56 +02:00
offset_tracking_send.py Python stream tutorial 2 (#439) 2024-08-06 18:17:56 +02:00
README.md fixing website links to streaming tutorial_2 for python and rust (#460) 2024-08-19 09:49:17 +02:00
receive.py Merge pull request #438 from cameron-mooreca/python-stream-tutorial-arg-fix 2024-08-06 16:28:17 -04:00
requirements.txt Python stream tutorial 2 (#439) 2024-08-06 18:17:56 +02:00
send.py removed redundant producer.close() calls 2024-08-05 16:17:13 +12:00

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.