forked from mtusi2026/mtusi2026lab5
19 lines
661 B
Plaintext
19 lines
661 B
Plaintext
Migration: migrations/001_lab5.sql
|
|
Outbox table verified in PostgreSQL.
|
|
|
|
Observed after public smoke:
|
|
event_type=attachment.process
|
|
publish_attempt=1
|
|
published_at=2026-11-24 13:36:03.511287+00
|
|
job status=ready
|
|
|
|
Publisher behavior:
|
|
- API inserts staging, attachment, job and outbox in one transaction.
|
|
- Worker publisher polls unpublished rows.
|
|
- Publish is accepted only through RabbitMQ publisher confirm.
|
|
- published_at is set only after confirm.
|
|
|
|
Live recovery of a queued attachment with the worker stopped and the full Compose
|
|
stack restarted is recorded in evidence/live-runtime.txt. The job completed from
|
|
the durable outbox without a new client upload.
|