ЛР5: брокер Redis Streams, worker, outbox, retry/DLQ/replay, варианты

This commit is contained in:
LOSYASH
2026-11-12 15:14:48 +01:00
parent 276dbdad8a
commit b4804ac5c1
98 changed files with 9131 additions and 38 deletions
+15
View File
@@ -0,0 +1,15 @@
# jobs-redelivery
# date: 2026-11-11T23:55:34 commit: 276dbda
$ C:\Users\79152\AppData\Local\Python\pythoncore-3.14-64\python.exe student-tests/jobs.py --base-url http://localhost:8080 --scenario redelivery
== повторная доставка уже ready-задачи ==
published duplicate: 1794437748730-0 {"schema_version": 1, "job_id": "29c2c47f-13f7-4064-ab1e-56d9860223d8", "type": "at
published duplicate: 1794437752117-0 {"schema_version": 1, "job_id": "29c2c47f-13f7-4064-ab1e-56d9860223d8", "type": "at
ok - duplicates: status stays ready, variants unchanged (same sha256)
ok - no second set of variants: rows=3, S3 objects=3
ok - job finished exactly once, attempt unchanged
ok - duplicates acked (no pending messages)
[redelivery: 25s]
4 passed, 0 failed
[exit 0]