feature: Outbox Relay and Kafka Pipeline

This commit is contained in:
voltsrage
2026-06-16 22:12:46 +08:00
parent de603df151
commit 84d259d10c
18 changed files with 1277 additions and 6 deletions
+19
View File
@@ -12,6 +12,25 @@ This project maps to `sd-mid-009` (Outbox Pattern), `sd-mid-013` (CQRS), `sd-mid
---
## Local Development Setup
Start all infrastructure services with:
```bash
docker compose up -d
```
| Service | Port | Notes |
|---|---|---|
| PostgreSQL | 5436 | Database: `vigilcare`, user: `postgres`, password: `password` |
| Redis | 6382 | No auth |
| Seq | 5345 | UI at `http://localhost:5345` — login: `admin` / `admin` |
| Kafka | 9092 | KRaft mode, no Zookeeper |
**Seq first-run:** `SEQ_FIRSTRUN_ADMINPASSWORD=admin` is set in `docker-compose.yml`. This password is only applied on the very first container start (when `/data` volume is empty). After initialization, the password is stored in the volume and this env var is ignored.
---
## Goals
- Model the observe-alert-acknowledge lifecycle that sits at the center of any clinical monitoring system