Skip to content

Commit 1e33535

Browse files
Rename project from realtime-activation-engine to setu
1 parent efcea70 commit 1e33535

12 files changed

Lines changed: 129 additions & 55 deletions

File tree

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Contributing to realtime-activation-engine
1+
# Contributing to setu
22

33
Thank you for your interest in contributing! This document covers the workflow and conventions for submitting changes.
44

Cargo.lock

Lines changed: 103 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "realtime-activation-engine"
2+
name = "setu"
33
version = "0.1.0"
44
edition = "2024"
55

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# realtime-activation-engine
1+
# setu
22

33
Real-time data activation from database change streams. Watch specific column changes and fire **webhooks**, **Slack**, or **Telegram** notifications the instant they happen — zero polling, no middleware.
44

55
```text
66
+--------------------------------------------------------------------------------------+
7-
| realtime-activation-engine |
7+
| setu |
88
| |
99
| +--------------------+ +--------------------+ +----------------------+ |
1010
| | | | | | | |
@@ -36,7 +36,7 @@ Real-time data activation from database change streams. Watch specific column ch
3636

3737
```bash
3838
git clone <repo>
39-
cd realtime-activation-engine
39+
cd setu
4040

4141
# Start the full demo stack
4242
docker compose -f demo/docker-compose.yml up --build -d
@@ -63,7 +63,7 @@ cp activation.yaml my-config.yaml
6363
# Edit pg_connection, rules, destinations...
6464

6565
# Run
66-
RUST_LOG=info ./target/release/realtime-activation-engine
66+
RUST_LOG=info ./target/release/setu
6767
```
6868

6969
## Requirements
@@ -274,7 +274,7 @@ The stack includes:
274274
| Service | Container | Purpose |
275275
|---|---|---|
276276
| PostgreSQL 16 | `pg-activation-db` | Configured with `wal_level=logical` |
277-
| realtime-activation-engine | `realtime-activation-engine` | Ingress source + filter + delivery |
277+
| setu | `setu` | Ingress source + filter + delivery |
278278
| Webhook Display | `pg-activation-display` | Python HTTP server with live HTML dashboard |
279279

280280
When you seed data, five sample DB changes trigger six rules — five webhook events on the dashboard plus one Telegram notification:
@@ -375,13 +375,13 @@ cargo test --lib
375375
cargo build --release
376376
377377
# Run with debug logging
378-
RUST_LOG=debug ./target/release/realtime-activation-engine
378+
RUST_LOG=debug ./target/release/setu
379379
```
380380

381381
### Building for Docker
382382

383383
```bash
384-
docker build -f demo/Dockerfile -t realtime-activation-engine .
384+
docker build -f demo/Dockerfile -t setu .
385385
```
386386

387387
The Dockerfile uses a multi-stage build with `alpine:3.19` runtime (rustls-backed, no OpenSSL dependency).

demo/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ RUN cargo build --release
1414
FROM alpine:3.19
1515
RUN apk add --no-cache ca-certificates libgcc
1616

17-
COPY --from=builder /app/target/release/realtime-activation-engine /usr/local/bin/
17+
COPY --from=builder /app/target/release/setu /usr/local/bin/
1818
COPY demo/activation.yaml /app/activation.yaml
1919

2020
WORKDIR /app
21-
CMD ["realtime-activation-engine"]
21+
CMD ["setu"]

demo/activation.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# ──────────────────────────────────────────────────────────────
2-
# Demo configuration for realtime-activation-engine
2+
# Demo configuration for setu
33
# ──────────────────────────────────────────────────────────────
44
# This file is mounted into the engine container at runtime.
55
# It watches three tables and sends events to the local

demo/demo-README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# realtime-activation-engine Demo
1+
# setu Demo
22

33
A fully containerized demo that runs everything with a single command.
44

@@ -23,7 +23,7 @@ Watch events appear in real time at `http://localhost:8080`.
2323
| Service | Container | Purpose |
2424
|---|---|---|
2525
| PostgreSQL 16 | `pg-activation-db` | Database with `wal_level=logical` and demo tables |
26-
| realtime-activation-engine | `realtime-activation-engine` | The WAL reader, filter, and delivery engine |
26+
| setu | `setu` | The WAL reader, filter, and delivery engine |
2727
| Webhook Display | `pg-activation-display` | HTTP server showing received events in a web UI |
2828

2929
## Demo Walkthrough
@@ -128,7 +128,7 @@ docker compose -f demo/docker-compose.yml restart engine
128128

129129
```
130130
WAL stream
131-
Postgres ──────────────────> realtime-activation-engine ──HTTP──> Webhook Display
131+
Postgres ──────────────────> setu ──HTTP──> Webhook Display
132132
▲ │ (localhost:8080)
133133
│ │
134134
└──── LSN feedback loop ───────┘

demo/docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# ──────────────────────────────────────────────────────────────────────
2-
# realtime-activation-engine Demo
2+
# setu Demo
33
# ──────────────────────────────────────────────────────────────────────
44
# Spins up:
55
# 1. PostgreSQL 16 with logical replication enabled
6-
# 2. realtime-activation-engine (built from local source)
6+
# 2. setu (built from local source)
77
# 3. Webhook Display — a simple HTTP server that logs events + HTML UI
88
#
99
# Usage:
@@ -58,7 +58,7 @@ services:
5858
build:
5959
context: ..
6060
dockerfile: demo/Dockerfile
61-
container_name: realtime-activation-engine
61+
container_name: setu
6262
depends_on:
6363
postgres:
6464
condition: service_healthy

demo/webhook-receiver/server.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
realtime-activation-engine Demo — Webhook Display Server
2+
setu Demo — Webhook Display Server
33
44
Receives POST /events from the engine, appends them to an in-memory
55
list, prints each event to stdout, and serves a real-time HTML page
@@ -28,7 +28,7 @@
2828
<head>
2929
<meta charset="UTF-8">
3030
<meta http-equiv="refresh" content="3">
31-
<title>realtime-activation-engine Demo</title>
31+
<title>setu Demo</title>
3232
<style>
3333
* {{ box-sizing: border-box; margin: 0; padding: 0; }}
3434
body {{ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
@@ -52,7 +52,7 @@
5252
</style>
5353
</head>
5454
<body>
55-
<h1>&#9889; realtime-activation-engine Demo</h1>
55+
<h1>&#9889; setu Demo</h1>
5656
<p class="sub">Received <span class="badge">{count}</span> events</p>
5757
{events_html}
5858
</body>

examples/advanced/multi-destination.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ rules:
2323
type: webhook
2424
url: "https://crm.example.com/invoice-created"
2525
headers:
26-
X-Source: "realtime-activation-engine"
26+
X-Source: "setu"
2727

2828
# ── Slack to accounting channel ──
2929
- table: "invoices"

0 commit comments

Comments
 (0)