Skip to main content

Dependencies

  • Redis pub/sub for WebSocket fan-out (RedisMessageEventPublisher, RedisWsEventSubscriber) and presence.
  • MessagingRateLimiter.
  • SocialCloseFriendIdsClient HTTP client.

Timeouts and circuit breakers belong on the client adapter, not in the use case. A failed downstream call for a non-critical side effect should become an outbox or inbox retry, not a user-facing 500, when the business write has already committed.