ЛР5: брокер RabbitMQ, worker, outbox, retry/DLQ/replay, трек 1

This commit is contained in:
2026-11-12 13:29:23 +03:00
parent 276dbdad8a
commit 726c77156e
66 changed files with 7731 additions and 18 deletions
+45
View File
@@ -0,0 +1,45 @@
global
log stdout format raw local0 info
maxconn 4096
resolvers docker
nameserver dns 127.0.0.11:53
resolve_retries 3
timeout resolve 1s
timeout retry 1s
hold valid 2s
hold obsolete 5s
accepted_payload_size 8192
defaults
mode http
log global
option httplog
option dontlognull
timeout connect 1s
timeout client 75s
timeout server 75s
timeout http-request 5s
timeout http-keep-alive 10s
timeout check 500ms
retries 2
retry-on conn-failure
option redispatch 1
frontend public
bind :8080
default_backend api
backend api
balance roundrobin
option httpchk GET /health/ready
http-check expect status 200
default-server check inter 1s fastinter 500ms downinter 1s fall 2 rise 2 init-addr none resolvers docker resolve-prefer ipv4
server-template api 8 api:8080
frontend internal_stats
bind :8404
monitor-uri /healthz
stats enable
stats uri /stats
stats refresh 5s