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​

  • splick.streams.social.friend-request-sent
  • splick.streams.social.friend-request-accepted
  • splick.streams.social.group-invite-sent
  • splick.streams.social.friend-nickname-changed
  • group membership stream (SocialEventStreams group-membership)

Consumed​

  • splick.streams.auth.user-registered group social-service.user-registered
  • splick.streams.auth.user-profile-updated
  • splick.streams.auth.user-deleted

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