mirror of
https://github.com/hwanny1128/HGZero.git
synced 2026-06-13 16:29:11 +00:00
내외부 시퀀스 - 불필요 이벤트 제거
This commit is contained in:
@@ -100,14 +100,19 @@ else 중복 없음
|
||||
|
||||
note over Service
|
||||
비동기 이벤트 발행:
|
||||
- 초대 이메일 발송
|
||||
- 참석자에게 초대 알림 발송
|
||||
- 캘린더 등록
|
||||
- 리마인더 스케줄링
|
||||
end note
|
||||
|
||||
' 이벤트 발행
|
||||
Service -> EventHub: publish(MeetingCreated)\n{\n meetingId, title, startTime,\n participants, creatorInfo\n}
|
||||
Service -> EventHub: publish(NotificationRequest)\n{\n channel: EMAIL,\n recipients: participants,\n message: "회의 초대",\n metadata: {\n meetingId, title, startTime,\n location\n }\n}
|
||||
activate EventHub
|
||||
note right
|
||||
Notification Service가 구독:
|
||||
- Consumer Group: notification-service-group
|
||||
- 참석자 전원에게 초대 이메일 발송
|
||||
end note
|
||||
EventHub --> Service: 발행 완료
|
||||
deactivate EventHub
|
||||
|
||||
|
||||
Reference in New Issue
Block a user