mirror of
https://github.com/hwanny1128/HGZero.git
synced 2026-06-13 15:19:10 +00:00
내외부 시퀀스 - 불필요 이벤트 제거
This commit is contained in:
@@ -12,14 +12,17 @@ participant "Email Service<<E>>" as Email
|
||||
participant "NotificationRepository" as Repository
|
||||
database "PostgreSQL<<E>>" as DB
|
||||
|
||||
EventHub -> Listener: consume(NotificationEvent)
|
||||
EventHub -> Listener: consume(NotificationRequest)
|
||||
activate Listener
|
||||
note right
|
||||
Event 종류:
|
||||
- MeetingCreatedEvent
|
||||
- TodoAssignedEvent
|
||||
- MeetingReminderEvent
|
||||
- SummaryCompletedEvent
|
||||
NotificationRequest 이벤트:
|
||||
- channel: 발송수단 (EMAIL, SMS)
|
||||
- recipients: 대상자 목록
|
||||
- message: 메시지 내용
|
||||
- metadata: 추가 정보 (회의정보 등)
|
||||
|
||||
Consumer Group:
|
||||
- notification-service-group
|
||||
end note
|
||||
|
||||
Listener -> Service: processNotification(event)
|
||||
|
||||
Reference in New Issue
Block a user