Skip to content

feat: 아웃박스 payload와 활성 웹훅을 조합해 Notification 메시지를 발행한다 #102

Description

@simhani1

배경
outbox 단일 이벤트를 사용자 웹훅 단위 알림 메시지로 fan-out 해야 한다.

목표

  • outbox payload + 활성 웹훅 목록을 조합해 메시지를 만든다.
  • MQ로 Notification 메시지를 발행한다.

작업 범위

  • 웹훅 활성 목록 조회
  • outbox payload 역직렬화 및 메시지 DTO 생성
  • (article event x webhook) fan-out
  • MQ producer 발행
  • 발행 성공/실패 로깅

완료 조건

  • outbox 1건에 대해 웹훅 개수만큼 메시지 발행
  • 메시지 스키마(웹훅 URL, 아티클 정보, 멱등키 등) 일관성 보장
  • 발행 실패 케이스 로깅 및 후속 처리 연계 가능

제외 범위

  • outbox 상태 전이
  • notification 소비/재시도/DLQ

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions