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​

  • feed.user-tagged-in-post
  • feed.friend-photo-posted
  • feed.user-mentioned
  • feed.post-commented
  • feed.post-reaction-milestone
  • feed.payment-evidence-*
  • feed.streak-reminder

Consumed​

  • Auth user registered, profile updated, and deleted.
  • splick.streams.social.friend-request-accepted group feed-service.friend-request-accepted.

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