Files
mtusi2026lab5/evidence/broker-restart.txt
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

31 lines
1.6 KiB
Plaintext

Lab5 main Compose classic-queue check, 2026-11-27, local Colima Docker.
Commands (from repository root):
./scripts/01-demo-setup.sh
docker compose --env-file .env exec -T broker rabbitmqctl list_queues name durable type arguments messages_ready messages_unacknowledged
docker compose --env-file .env restart broker
docker compose --env-file .env up -d --wait broker
docker compose --env-file .env exec -T broker rabbitmqctl list_queues name durable type arguments messages_ready messages_unacknowledged
docker compose --env-file .env exec -T broker rabbitmqctl list_exchanges name type durable
docker compose --env-file .env exec -T broker rabbitmqctl list_bindings source_name destination_name destination_kind routing_key
Observed after bootstrap:
broker: Up (healthy)
broker-init: Exited (0)
attachments.process true classic DLX=attachments.dlx; key=attachments.dead 0 0
attachments.dlq true classic - 0 0
attachments.dlx direct, durable
attachments.dlx -> attachments.dlq, routing key attachments.dead
Observed after broker restart:
broker: Up (healthy)
attachments.process true classic DLX=attachments.dlx; key=attachments.dead 0 0
attachments.dlq true classic - 0 0
attachments.dlx direct, durable
attachments.dlx -> attachments.dlq, routing key attachments.dead
The durable classic queues, DLX, and binding survive a broker restart with
broker_data. This check does not verify persistence of queued messages,
publisher confirms, or worker acknowledgements. Demo tests cover those paths.
No broker ports are published to the host.