Some utility functions for RabbitMQ Management
Requires:
- Python 3.7
- Pipenv
- Install packages by command
pipenv install
- Clone
.env.sample
to.env
and set value forAMQP_URL
.
- Run
pipenv run python get_definitions.py
- Clone input files
exchanges.sample.json
toexchanges.json
if you need to declare exchanges.queues.sample.json
toqueues.json
if you need to declare queues.bindings.sample.json
tobindings.json
if you need to bind queues or exchanges to an exchange.
- Run
pipenv run python declare_and_bind.py