feat(chat): 채팅방 채팅 메세지 전달 로직 디버깅 (#78)#172
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughRedis 기반 채팅 경로를 전면 비활성화하고, STOMP WebSocket 직접 전송으로 전환. Redis 관련 @Component/@configuration 등록을 주석 처리하고, 컨트롤러와 서비스에서 Redis 퍼블리시 호출을 제거하여 messagingTemplate.convertAndSend(...)로 즉시 브로드캐스트하도록 변경. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant C as Client
participant MC as ChatMessagingController
participant S as SimpMessagingTemplate
Note over MC: Redis 경로 비활성화
C->>MC: SEND /app/chat/{roomId} (payload)
MC->>S: convertAndSend("/topic/chat/{roomId}", payload)
S-->>C: STOMP MESSAGE (broadcast to subscribers)
sequenceDiagram
autonumber
participant P as Producer (Service/Controller)
participant DB as ChatMessageService (save)
participant S as SimpMessagingTemplate
Note over P: After-commit 흐름 유지(저장 + 브로드캐스트)
P->>DB: save(message)
DB-->>P: saved(message)
P->>S: convertAndSend("/topic/chat/{roomId}", payload)
S-->>P: delivered to subscribers
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Tip 🔌 Remote MCP (Model Context Protocol) integration is now available!Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats. 📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (6)
✨ Finishing Touches
🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
Summary by CodeRabbit