Skip to main content

Rabbit MQ wrapper implement with amqpstorm and with threading or multiprocessing

Project description

rmqworkers -- Manage dynamic workers rabbitmq for Python applications

status

Project rmqworkers offer high availability through simple, yet powerful library: This library doesn't work as a standalone.

This project require a rabbitmq server.

Please note that for development I've used a container:

How to run

docker run -d --hostname my-rabbit --name rabbitmq-server -p 15672:15672 -p 5672:5672 rabbitmq:3-management

Default has credentials: user: quest passw: quest

cd rmqworkers/examples

source venv/bin/activate or venv/Scripts/activate.sh

pip install -r requirements.txt

python example_1queue_in_and_1queue_out.py

Expected output

Default will use thread.

publish in queue in { "job_info": "11111"}

Verify if in queue out is {'job_info': '11111!!!!!!!', 'add_something': 'something'}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for rmqworkers, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size rmqworkers-0.0.4-py3-none-any.whl (9.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size rmqworkers-0.0.4.tar.gz (5.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page