Skip to main content

Events

Producers write event_outbox in the same database transaction as the business change. outbox-relay-service publishes the envelope to Redis Streams. Consumers append to inbox_messages and let InboxMessageWorker run the handler. Handlers must be idempotent on event_id.

Produced​

  • Redis streams named by each producer's IntegrationEventRoute. Transport SHARED_EVENTS_TRANSPORT, trim SHARED_EVENTS_STREAM_MAXLEN.

Consumed​

  • Does not consume business streams. It is the publisher.

Envelope fields that matter for operations: eventId, type, traceId (from X-Request-Id). See request correlation.