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​

  • auth.user-registered on splick.streams.auth.user-registered
  • auth.user-profile-updated on splick.streams.auth.user-profile-updated
  • auth.user-welcome-email on splick.streams.auth.user-welcome-email
  • auth.user-deleted on splick.streams.auth.user-deleted

Consumed​

  • None. Auth is an outbox producer. In-process Spring events such as login and logout stay inside the JVM.

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