
세부 사항은 인프라 설계서 참고 부탁드립니다.

프로젝트 내 서비스 간 비동기 이벤트 흐름을 정리한다. 내부 이벤트 통신 명세서의
Event Topic,Publisher,Consumer정보를 기반으로 Kafka를 중심에 둔 전체 이벤트 조망도와 주요 유스케이스별 이벤트 흐름을 확인한다.
전체 이벤트 조망

이벤트 명세서
order.payment.failed |
order-service |
ticketing-service |
order_id + attempt_id | order_id, show_seat_id, user_id, reason, failed_at | 결제 실패 → releaseHold |
|---|---|---|---|---|---|
order.payment.cancelled |
order-service |
ticketing-service |
order_id | order_id, show_seat_id, user_id, cancelled_at | 결제 취소 → releaseHold |
order.payment.completed |
order-service |
ticketing-service |
order_id + payment_ref_id | order_id, show_seat_id, user_id, payment_ref_id, amount, paid_at | 결제 완료 → confirm 예매 |
ticketing.seat.booked |
ticketing-service |
order-service |
order_id | (필수) | |
| order_id, show_seat_id, user_id, | |||||
| (선택) | |||||
| show_id, confirmed_at | Redis 좌석 상태BOOKED로 변경완료 이후 | ||||
user.member.withdrawn |
user-service |
feed-service |
userId |
{user_id": "uuid"} |
일반회원 탈퇴 시 Feed-Service에 전달. 해당 회원이 작성한 댓글 작성자 필드를 익명 처리. 해당 회원이 생성한 좋아요 일괄 삭제. |
user.creator.withdrawn |
user-service |
feed-service |
userId |
{"user_id": "uuid"} |
크리에이터 탈퇴 시 Feed-Service에 전달. 게시글 일괄 삭제, 댓글 익명처리. 해당 크리에이터가 생성한 좋아요 일괄 삭제. |
user.deleted |
user-service |
chat-service notification-service cs-service |
user_id |
{"user_id": "uuid"} |
회원 탈퇴 처리관련 정보 삭제 |
user.followed |
user-service |
chat-service |
follow_id |
{"follow_id": "uuid", "follower_id": "uuid", "followee_id": "uuid"} |
팔로우 발생 시 채팅방 입장 |
notification.push.failed |
notification-service |
notification-service |
notification_id |
{"notification_id": "uuid", "device_token": "token"} |
발송 실패 알림 재시도 |
notification.send |
chat-service feed-service order-service |
notification-service |
user_id + type + reference_id |
{"reference_id": "uuid", "type": "CHAT", "title": "title", "content": "body","target_user_ids": "uuid"} |
알림 |
notification.push |
notification-service |
notification-service |
notification_id |
{"notification_id": "uuid"} |
PENDING 알림의 기기 푸시 발송 트리거. 토큰 조회→발송→send_status 갱신. |
ticketing.seat.book.failed |
ticketing-service |
order-service |
order_id | order_id, ticket_id, reason, failed_at | 좌석 예매 실패 → SAGA 보상 시작 |