-
Notifications
You must be signed in to change notification settings - Fork 2
[#52] 로드 밸런싱 환경에서의 채팅 기능 동작을 위한 코드 수정 #54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
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
- 기존 ChatController에 있던 로직을 ChatService를 생성하여 이전시켰습니다. - Chat 서비스의 테스트를 위한 환경 클래스를 생성하고, 서비스의 메서드를 테스트하는 코드를 작성했습니다. - 테스트 중 관련 로직을 개선하고, dto를 수정했습니다.
- 추가된 의존성 - spring-boot-starter-data-redis - com.fasterxml.jackson.datatype:jackson-datatype-jsr310
- 채팅방에 대한 sse 연결이 현재 존재할 경우 redis를 통해 채팅을 전달하도록 코드 작성
2 tasks
tilsong
added a commit
that referenced
this pull request
Jul 16, 2023
- @JsonIgnore를 통해 순환 참조가 발생하는 필드를 Json으로 직렬화하는 과정에서 무시하도록 함.
tilsong
added a commit
that referenced
this pull request
Jul 17, 2023
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 유형
변경사항
변경 전
변경 후
사용 방법
기타