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-registeredonsplick.streams.auth.user-registeredauth.user-profile-updatedonsplick.streams.auth.user-profile-updatedauth.user-welcome-emailonsplick.streams.auth.user-welcome-emailauth.user-deletedonsplick.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.