Book 4 · Lesson 4.10 · recap
Book 4 capstone — GitHub webhook to Postgres
- Run full Stage 1 pipeline locally
- Verify Kafka, Postgres, Redis, metrics API
- Self-grade Book 4 rubric
Prerequisites: 4.1 · 4.9
You finished Book 4 — Stage 1 Pipeline Skeleton.
Rubric (self-grade)
| Criterion | Pass? |
|---|---|
| compose up — kafka, postgres, redis | |
| ingestion POST → kafka_status published | |
| team_events row in Postgres | |
| metrics summary JSON | |
| redis PUBLISH or SSE (optional) | |
| traced event_id in logs |
curl POST
:8081/webhooks/hello → ingestionKafka
raw-dev-events (ingestion) → enriched-dev-events (llm Stage 3)Consumer
analyzer run_consumer recv()Postgres
INSERT team_events ON CONFLICT DO UPDATEQuery
GET :8082/api/metrics/summaryAxum Ingestion
Python LLM Worker
Rust Analyzer
SolidJS Dashboard
Book 4 → Book 5 bridge
Book 5 adds gateway JWT/mTLS and the Python LLM worker — same pipeline, more stages.
Teach-back prompt
Demo Stage 1 in 3 minutes without opening IDE.
Stage 1 capstone demo
Lab complete — nice work.