mirror of
https://github.com/hwanny1128/HGZero.git
synced 2026-06-13 16:29:11 +00:00
내외부 시퀀스 - 불필요 이벤트 제거
This commit is contained in:
@@ -131,24 +131,21 @@ else 확정 가능
|
||||
|
||||
note over Service
|
||||
비동기 처리:
|
||||
- AI가 Todo 항목 자동 추출
|
||||
- 회의록 공유 가능 상태로 전환
|
||||
- 참석자에게 확정 알림
|
||||
end note
|
||||
|
||||
' AI Todo 추출 이벤트 발행
|
||||
Service -> EventHub: publish(MinutesFinalized)\n{\n minutesId, meetingId,\n finalizedAt, content,\n participants\n}
|
||||
' NotificationRequest 이벤트 발행
|
||||
Service -> EventHub: publish(NotificationRequest)\n{\n channel: EMAIL,\n recipients: participants,\n message: "회의록 확정 안내",\n metadata: {\n minutesId, meetingId,\n finalizedAt, version\n }\n}
|
||||
activate EventHub
|
||||
note right
|
||||
Notification Service가 구독:
|
||||
- Consumer Group: notification-service-group
|
||||
- 참석자 전원에게 확정 알림 발송
|
||||
end note
|
||||
EventHub --> Service: 발행 완료
|
||||
deactivate EventHub
|
||||
|
||||
' Todo 자동 추출 (비동기 응답 대기 없음)
|
||||
note over Service
|
||||
AI 서비스가 MinutesFinalized 이벤트를 구독하여
|
||||
Todo 자동 추출 및 할당 수행
|
||||
추출된 Todo는 별도 이벤트로 전달됨
|
||||
end note
|
||||
|
||||
Service --> Controller: MinutesFinalizeResponse
|
||||
deactivate Service
|
||||
|
||||
|
||||
Reference in New Issue
Block a user