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​

  • Split tagged, split settled, reminder sent, daily debt reminder.
  • Bulk settlement submitted, approved, and rejected.
  • Debt created and expense closed on splick.streams.expense.*.

Consumed​

  • splick.streams.auth.user-deleted group expense-service.user-deleted.

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