ЛР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
+7
View File
@@ -0,0 +1,7 @@
# queue-drain
# date: 2026-11-12T15:06:34 commit: 276dbda
queue drained in 102.6 s: {'ready': 332}
$ docker compose --env-file .env exec -T api python -m app.tools queue
{"stream_length": 0, "groups": [{"name": "workers", "consumers": 6, "pending": 0, "lag": 0}], "dlq_length": 1, "outbox_unpublished": 0, "jobs_by_status": {"ready": 332}}
[exit 0]