A way to declare your AMQP exchanges, queues, and bindings outside of the application
Project description
# Declare AMQP
A way to declare your exchanges, queues, and bindings outside of the application
## Installing
pip install declare-amqp
## Declaration
You can see the extend of configuration in the `example_config.yml` file. All
fields used are currently required.
exchanges:
- name: example_exchange
type: direct
durable: True
auto_delete: False
queues:
- name: test_queue
auto_delete: False
durable: True
bindings:
- exchange: example_exchange
binding_key: test_binding
When I have the need for them exchange-to-exchange bindings will be added.
## Running
### ENVVARS
AMQP_HOST (default: localhost)
AMQP_USER (default: guest)
AMQP_PASS (default: guest)
AMQP_VHOST(default: /)
### CLI
Once you have set the envvars you are set to run `declare-amqp`
declare-amqp --config your_config.yml
A way to declare your exchanges, queues, and bindings outside of the application
## Installing
pip install declare-amqp
## Declaration
You can see the extend of configuration in the `example_config.yml` file. All
fields used are currently required.
exchanges:
- name: example_exchange
type: direct
durable: True
auto_delete: False
queues:
- name: test_queue
auto_delete: False
durable: True
bindings:
- exchange: example_exchange
binding_key: test_binding
When I have the need for them exchange-to-exchange bindings will be added.
## Running
### ENVVARS
AMQP_HOST (default: localhost)
AMQP_USER (default: guest)
AMQP_PASS (default: guest)
AMQP_VHOST(default: /)
### CLI
Once you have set the envvars you are set to run `declare-amqp`
declare-amqp --config your_config.yml
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
declare-amqp-0.0.2.tar.gz
(2.6 kB
view details)
File details
Details for the file declare-amqp-0.0.2.tar.gz
.
File metadata
- Download URL: declare-amqp-0.0.2.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c75046dea01f0bdc6702aaf564321e97fa6604e3d9ae2176cf253bc230192cbb |
|
MD5 | 1e335c1c6e3726166122deeb278fbda1 |
|
BLAKE2b-256 | a5e20f1ea31807985ab1a02dc9ea1f8b090b7e1468b8b7653e4a6a79ad98f64d |