nats adapter

This commit is contained in:
2026-05-10 13:42:28 +02:00
parent 05b44e17a1
commit 8678bbf391
20 changed files with 1078 additions and 37 deletions

View File

@@ -39,4 +39,11 @@ ALLOW_REGISTRATION=false
RATE_LIMIT=20
POSTER_FETCH_TIMEOUT_SECONDS=30
EVENT_CHANNEL_BUFFER=128
# NATS event bus (optional — falls back to in-memory channel when unset)
# NATS_URL=nats://localhost:4222
# NATS_MODE=jetstream # "jetstream" (default, at-least-once) or "core" (fire-and-forget)
# NATS_SUBJECT_PREFIX=movies-diary.events
# NATS_STREAM_NAME=MOVIES_DIARY_EVENTS
# NATS_CONSUMER_NAME=worker
RUST_LOG=presentation=debug,tower_http=debug