Files
mtusi2026lab5/scripts/05-demo-dlq.sh
T
Самохвалов Андрей Ремович e7f68aa69c feat: route terminal jobs to a durable DLQ
Declare the classic dead-letter topology, reject terminal worker outcomes
without requeue, and add coverage for malformed messages and retry jitter.
2026-11-27 14:15:44 +03:00

11 lines
439 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
source "$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)/demo-common.sh"
demo_preflight
echo
echo "== DLQ: terminal outcomes are rejected without requeue and routed via DLX =="
echo "The test checks a malformed message and a permanently invalid image, then removes both test messages from the DLQ."
docker compose --env-file .env run --rm --no-deps -T worker python - < student-tests/test_dlq.py