pa-03 — Execution

Prerequisites

  • Go ≥ 1.25 (stdlib only, offline).

One-shot

cd pa-03-event-driven-architecture && bash scripts/verify.sh

Per-language workflow (Go)

cd pa-03-event-driven-architecture/src/go
go test -race -count=1 ./...      # fan-out, retry, dedup, DLQ
go run ./cmd/ebsim

Package map

FileWhat
eventbus/bus.gotopic pub/sub, at-least-once retries, idempotent dedup, DLQ, counters
cmd/ebsimfan-out + retry-then-succeed + dedup + poison→DLQ demo

See GUIDE.md for the deep dive and the sync-vs-async trade-offs.