내외부 시퀀스 - 불필요 이벤트 제거

This commit is contained in:
cyjadela
2025-10-23 10:03:35 +09:00
parent 5d7e0c42f0
commit 6e2baa2386
10 changed files with 110 additions and 97 deletions
@@ -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