mirror of
https://github.com/hwanny1128/HGZero.git
synced 2026-06-13 16:29:11 +00:00
내외부 시퀀스 - 불필요 이벤트 제거
This commit is contained in:
@@ -267,13 +267,28 @@ else 종료 가능
|
||||
note over Service
|
||||
비동기 이벤트 발행:
|
||||
- STT 서비스에 녹음 중지 요청
|
||||
- AI 서비스에 최종 회의록 생성 요청
|
||||
- 참석자에게 회의 종료 알림
|
||||
end note
|
||||
|
||||
' 이벤트 발행
|
||||
Service -> EventHub: publish(MeetingEnded)\n{\n meetingId, sessionId,\n endedAt, statistics,\n minutesId,\n aiSuggestionsMerged: true,\n mergedCount: N\n}
|
||||
' MeetingEnded 이벤트 발행 (STT Service 구독)
|
||||
Service -> EventHub: publish(MeetingEnded)\n{\n meetingId, sessionId,\n endedAt, statistics\n}
|
||||
activate EventHub
|
||||
note right
|
||||
STT Service가 구독:
|
||||
- Consumer Group: stt-service-group
|
||||
- 음성 녹음 중지 처리
|
||||
end note
|
||||
EventHub --> Service: 발행 완료
|
||||
deactivate EventHub
|
||||
|
||||
' NotificationRequest 이벤트 발행 (Notification Service 구독)
|
||||
Service -> EventHub: publish(NotificationRequest)\n{\n channel: EMAIL,\n recipients: participants,\n message: "회의 종료 안내",\n metadata: {\n meetingId, statistics,\n minutesId,\n aiEnhancement: {\n merged: true,\n count: N\n }\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