[FEAT] 에러 메시지 수신용 WebSocket 채널 구독 및 송신 실패 처리 로직 구현#1349
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Tip Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
dlsxjzld
left a comment
There was a problem hiding this comment.
실패하는 메시지는 개인만 알면 되기 때문에 따로 구독을 한 것 같은데 맞을까요? 🤔
이제 클라이언트에서도 실패한 메시지인지 알 수 있겠네요 👍
고생하셨습니다! 👍👍
Issue Number
closed #1347
As-Is
기존 구현에서는 채팅 전송 시 서버에서 비즈니스 로직 실패(예: 권한, 유효성, 상태 충돌 등)가 발생하더라도, 클라이언트가 이를 감지할 수 있는 STOMP 에러 구독 로직이 존재하지 않았습니다. 그 결과 아래와 같은 문제들이 있었습니다.
즉, 전송 계층 성공과 비즈니스 로직 성공을 구분하지 못하는 구조였습니다.
To-Be
1. 에러 큐 구독 추가
🔒 사용자 전용 큐 동작 방식
2. tempId 기반 메시지 status 변경
Check List
(Optional) Additional Description