Skip to main content

DCI UMB

DCI UMB is a tool that listen on an amqps broker, filter on a specific topic and propagate any event via http post request.

TLDR

$ sudo yum -y install https://packages.distributed-ci.io/dci-release.el7.noarch.rpm
$ sudo yum -y install dci-umb
$ dci-umb \
  --key ./broker.key \
  --crt ./broker.crt \
  --ca ./broker.ca \
  --broker amqps://example.org:5671 \
  --source topic://VirtualTopic.eng \
  --destination http://localhost:5000/events

Run as a service

If you want to run dci-umb as a systemd service, you can edit /etc/dci-umb/config file and modify the config. Then you can run systemctl start dci-umb

Example

Create a python virtual environment

python3 -m venv venv
source venv/bin/activate

Install dependencies

pip install -r sandbox/requirements.txt
pip install -r requirements.txt

Start the sandbox server:

python sandbox/server.py

In another terminal start dci-umb with parameters

source venv/bin/activate
PYTHONPATH=. python dci_umb/main.py \
    --key ./broker.key \
    --crt ./broker.crt \
    --ca ./broker.ca \
    --broker amqps://example.org:5671 \
    --source topic://VirtualTopic.eng \
    --destination http://localhost:5000/events

Metadata

Release files for dci-umb 0.4.2.post202412061622

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dci-umb 0.4.2.post202412061622
File Size Uploaded
dci-umb-0.4.2.post202412061622.tar.gz 11.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dci-umb 0.4.2.post202412061622
File Interpreter ABI Platform
dci_umb-0.4.2.post202412061622-py3-none-any.whl Python 3 none any Details

Total release size: 23.3 kB

Release files / dci-umb-0.4.2.post202412061622.tar.gz

Download URL dci-umb-0.4.2.post202412061622.tar.gz
Size 11.3 kB
Tags Source
SHA-256 checksum
How to use checksums
6888bd1cf111f8b84a8d6085af99ef48bb67ec63ecd8cfc8bfc05169eb6a58c7
BLAKE2b-256 checksum
How to use checksums
6b7b54b722c5d36cbf5f3102f8d7682b3c9744d410c94af8703a4afda8e3b404
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.3

Release files / dci_umb-0.4.2.post202412061622-py3-none-any.whl

Download URL dci_umb-0.4.2.post202412061622-py3-none-any.whl
Size 11.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0a3d7fb01a6d175685505fed27d5f3080d73da16ee69474a7a484dd8956f58f7
BLAKE2b-256 checksum
How to use checksums
c8dc4d14265f1958a778329cb373f2c91c6b2a8968956588bc1906cb8fcfaded
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.3
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page