forked from mtusi2026/mtusi2026lab5
ЛР5: брокер Redis Streams, worker, outbox, retry/DLQ/replay, варианты
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
# broker-config
|
||||
# date: 2026-11-11T23:54:10 commit: 276dbda
|
||||
|
||||
$ docker compose --env-file .env exec -T broker redis-cli CONFIG GET append*
|
||||
appendfilename
|
||||
appendonly.aof
|
||||
appendonly
|
||||
yes
|
||||
appendfsync
|
||||
always
|
||||
appenddirname
|
||||
appendonlydir
|
||||
[exit 0]
|
||||
|
||||
$ docker compose --env-file .env exec -T broker redis-cli CONFIG GET maxmemory-policy
|
||||
maxmemory-policy
|
||||
noeviction
|
||||
[exit 0]
|
||||
|
||||
$ docker compose --env-file .env exec -T api python -m app.tools queue
|
||||
{"stream_length": 11, "groups": [{"name": "workers", "consumers": 2, "pending": 2, "lag": 9}], "dlq_length": 0, "outbox_unpublished": 0, "jobs_by_status": {"ready": 8, "processing": 2, "queued": 9}}
|
||||
[exit 0]
|
||||
Reference in New Issue
Block a user