Files
cloudlysis/docs/usage/nats.md
Vlad Durnea e9a0142396
Some checks failed
ci / ui (push) Failing after 28s
images / build-and-push (push) Failing after 19s
ci / rust (push) Failing after 2m26s
docs: add docs folder (architecture, developer, usage); update README; wire probe TTL cache + concurrency notes into docs
2026-03-30 14:32:47 +03:00

454 B

NATS Reference

Subjects

  • Aggregate events: tenant..aggregate..
  • Workflow commands/events: shared helpers define exact formats

Headers (Producers)

  • tenant-id: required
  • Nats-Msg-Id: idempotency key (event_id, command_id, etc.)
  • x-correlation-id and correlation-id
  • traceparent and trace-id

Consumers

  • AckPolicy::Explicit
  • ack_wait: bounded timeout
  • max_deliver: bounded
  • max_ack_pending: aligned with concurrency