Overview
Boomerang is an alerting engine built on Kontiki. Producers publish alerts; the core matches YAML subscriptions; notifiers deliver (email, Telegram, …).
The pipeline stays stable because both ends speak shared contracts
(boomerang-contracts):
Producers ──► NormalizedAlert ──► subscription + alert-engine ──► NotificationRequest ──► Notifiers
- Upstream: add a producer that emits
NormalizedAlert(AMQPalert.normalizedorPOST /alerts) — no change to the engine. - Downstream: add a notifier that consumes
{channel}.alerting.notification.requestedand exposes a channel catalogue — same targeting model. - Middle: who gets notified is declared in YAML (
app.subscriptions+ notifierapp.endpoints).
More detail: docs/features.md · docs/contracts.md · docs/configuration.md.
Install
Run the platform (CLI entrypoints):
pip install kontiki-boomerang
# boomerang-subscription, boomerang-alert-engine,
# boomerang-email-notifier, boomerang-telegram-notifier, …
Extend Boomerang (producers / notifiers — contracts only):
pip install boomerang-contracts
The quickstart below uses Docker Compose instead of a local pip install.
Quickstart — earthquake → Telegram / MailHog
The demo stack polls USGS, normalizes quakes, and notifies Telegram plus email
(MailHog). Targeting lives in stack/subscription.demo.yaml
(magnitude >= 2 → telegram.alerts and email.inbox).
1. Bot token (once):
cp stack/notifiers/telegram_bot_token.yaml.example \
stack/notifiers/telegram_bot_token.yaml
# set app.telegram.bot_token from BotFather
2. Telegram chat in stack/notifiers/telegram.yaml:
app:
endpoints:
alerts:
chat_id: "YOUR_CHAT_ID"
3. Start the demo:
make stack-up-demo
Email copies land in MailHog (http://127.0.0.1:8025). When a matching quake arrives, Telegram looks like this:
Stop the stack:
make stack-down
Details (pipeline, HTTP ingest, catalogues, contracts): docs/features.md.
Documentation
- Index:
docs/README.md - Features:
docs/features.md - Contracts:
docs/contracts.md - Configuration:
docs/configuration.md·docs/boomerang-config.example.yaml - Stack config:
stack/ - Contributing:
CONTRIBUTING.md - License:
LICENSE(Apache-2.0)
| Service | README |
|---|---|
| Subscription | boomerang/services/subscription/README.md |
| Alert engine | boomerang/services/alert_engine/README.md |
| Email notifier | boomerang/services/notifiers/email/README.md |
| Telegram notifier | boomerang/services/notifiers/telegram/README.md |
| Earthquake feed (demo) | boomerang/services/alert_services/earthquake/README.md |
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kontiki_boomerang-0.4.0.tar.gz.
File metadata
- Download URL: kontiki_boomerang-0.4.0.tar.gz
- Upload date:
- Size: 25.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/2.3.2 CPython/3.13.7 Linux/6.8.0-124-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e41db480d7d4bbd24fd8863717c1275e573e32c3d617b2112dfd81d899459b76
|
|
| MD5 |
1c2997284b150e31fd289f9e396d24b7
|
|
| BLAKE2b-256 |
f7e6bc5fa0e6a529f229ef2c0e80cc48901e8f215f5f0548d4be77df4b763ee2
|
File details
Details for the file kontiki_boomerang-0.4.0-py3-none-any.whl.
File metadata
- Download URL: kontiki_boomerang-0.4.0-py3-none-any.whl
- Upload date:
- Size: 46.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/2.3.2 CPython/3.13.7 Linux/6.8.0-124-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a416aef2b4320f7674828bd3b381d1b2962974ca38c35c6745e47c336eddaaf3
|
|
| MD5 |
55f2e2e48f90d7b946e1f0ba0bd4c837
|
|
| BLAKE2b-256 |
4f019da1c7ff8cd8ede041aa5584ec7fcde1e66a0318e45c85a94389359d9b73
|