[QUEUE-220] 수강신청 여석 실시간 반영 기능(SSE + Redis) 구현#37
Merged
MinjiSeo16 merged 7 commits intodevelopfrom Aug 5, 2025
Merged
Conversation
mingking2
approved these changes
Aug 4, 2025
Contributor
mingking2
left a comment
There was a problem hiding this comment.
고생하셨습니다~
아무리 생각해도 더 좋은 방법이 없는거 같네요 ㅜ
MinjiSeo16
added a commit
that referenced
this pull request
Aug 5, 2025
This reverts commit 3747d8d.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✅ PR Checklist
PR이 다음 요구 사항을 충족하는지 확인하세요.
📝 요약(Summary)
📌 변경 사항
👉 SseEmitterManager
67f04ec
👉 SseSeatService
d4628e1
👉 EnrollmentService
aea1ec1
notifyRemainingChanged를 호출하여 해당courseId를 구독 중인 사용자에게 SSE로 실시간 알림을 전송increment()로 처리됨👉 SseSeatController
23c0c89
POST /api/v1/enrollments/capacity/api/v1/seats API는 프론트에서 courseId 리스트를 넘기면 해당 강의들의 여석을 실시간으로 push 받는 SSE 기반 구독 APIGET /api/v1/seats@AuthenticationPrincipal)으로 사용자의 emitter를 구분💬 공유사항 to 리뷰어
위에 언급하지 않은 SSE 관련 클래스나 코드는 queue서버와 동일하게 적용하였습니다.
아래 PR 기록 중
[QUEUE-100, 201, 204, 206]에 설명해둔 내용 참고 후 질문 있으시면 해주세요!https://github.com/QUEUE-SW/QUEUE-was/pulls?q=is%3Apr+is%3Aclosed
❓ 페이징을 도입하지 않은 이유