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.
This commit is contained in:
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user