-
Notifications
You must be signed in to change notification settings - Fork 0
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
[BG-332]: ws 접속 정보를 레디스에 기록한다 (4h / 3h) #70
Conversation
@@ -16,6 +16,7 @@ class RestClientAspect { | |||
try { | |||
jointPoint.proceed() | |||
} catch (e: Exception) { | |||
println(e) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
뭐고
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
헿~
data class WorkspaceSession | ||
@JsonCreator | ||
constructor( | ||
@JsonProperty("id") val id: String, | ||
@JsonProperty("userId") val userId: String, | ||
@JsonProperty("workspaceId") val workspaceId: Long, | ||
@JsonProperty("realtimeId") val realtimeId: String, | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JsonCreator 가 여기서 왜 필요해?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이게 원래 레디스에 그대로 저장될 데이터였는데 수정하면서 필요없어진 것 같넹!
삭제할겡!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Why
웹 소켓 세션을 레디스에 저장하여 다수의 realtime 서버에 특정 소켓을 트래킹할 수 있어야 한다.
Link
BG-332