Multi broker watcher tool that connect them with UNIX pipes. BUS Message watcher for OpenAPI Generator Project
Project description
Powerful Pipes Watcher - Multi-broker watcher tool with the power of UNIX Pipes
Index
In a nutshell Powerful Pipes Watcher
is a multi broker watcher tool that connect them with UNIX pipes.
Install
> pip install powerful-pipes-watch-bus
Quick Start
WatchBus
Powerful Pipes Watcher read from a broker queue and re-send received data to the UNIX pipeline.
Example
> watch-bus -c redis:// -q my-queue
Above command will connect to the localhost Redis at default port, at database number 1, and will listen for my-queue
queue.
Example with multiple queues
> watch-bus -c redis:// -q my-queue -q second-queue
With this command watch-bus will listen from two queues events.
SendBus
Powerful Pipes SendBus read from stdin and re-send received JSON data to the Broker queue(s).
Example
> cat data.json | send-bus -c redis:// -q my-queue
Above command will connect to the localhost Redis at default port, at database number 1, and will listen for my-queue
queue.
Example with multiple queues
> cat data.json | send-bus -c redis:// -q my-queue -q second-queue
With this command sendBus will send data to two broker queues.
Supported brokers
Currently, supported brokers are:
- Redis Pub/Sub
- Redis simple Queue listener
We'll be happy if you want to contribute adding new brokers! :)
Redis examples
Redis Simple Queue Listener
Bus connections for Redis should look like:
redis://[[user]:[password]@][host][:port][/?db=INTEGER][&queue=STRING]]
Default values:
- user: Null
- password: Null
- Host: 127.0.0.1
- port: 6379
- db: 1
- queue: default
Redis Pub / Sub
Bus connections for Redis should look like:
redis+pubsub://[[user]:[password]@][host][:port][/?[db=INTEGER][&channel=STRING]]
channel is the pub/sub channel to listen for.
Default values:
- user: Null
- password: Null
- Host: 127.0.0.1
- port: 6379
- db: 1
- channel: default
Authors
Powerful Pipes was made by 42Crunch Research Team:
License
Powerful Pipes is Open Source and available under the AGPLv3+.
Contributions
Contributions are very welcome. See CONTRIBUTING.md or skim existing tickets to see where you could help out.
Acknowledgements
Project logo thanks to Camera control vector created by upklyak.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file powerful-pipes-watch-bus-1.0.4.tar.gz
.
File metadata
- Download URL: powerful-pipes-watch-bus-1.0.4.tar.gz
- Upload date:
- Size: 19.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20cc94cdc29ac0e42d834f597a4028a6c95114776c9535754f2cdec2dbbdc4b8 |
|
MD5 | ccdf4e661ddbdfa09a51f5483a8f27a8 |
|
BLAKE2b-256 | 04323513fe8052fd6fe27c9b48667c4c82745fcce908c23f14b57f4eace5a67a |