Skip to content
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

[BE] FEAT: state server, produce "1 connect" to kafka #146

Merged
merged 3 commits into from
Feb 11, 2025

Conversation

yoo-chris
Copy link
Collaborator

해당 사항 (중복 선택)

  • FEAT : 새로운 기능 추가 및 개선
  • FIX : 기존 기능 수정 및 정상 동작을 위한 간단한 추가, 수정사항
  • BUG : 버그 수정
  • REFACTOR : 결과의 변경 없이 코드의 구조를 재조정
  • TEST : 테스트 코드 추가
  • DOCS : 코드가 아닌 문서를 수정한 경우
  • REMOVE : 파일을 삭제하는 작업만 수행
  • RENAME : 파일 또는 폴더명을 수정하거나 위치(경로)를 변경
  • ETC : 이외에 다른 경우 - 어떠한 사항인지 작성해주세요.

설명

🔗 관련 이슈

해결한 이슈: closed #134

📝 작업 내용

1. kafka topic 이름 바꾸기

friend-online-notify -> friend_online_notify

2. chat-server 쪽 index.html

random userId -> 1
테스트를 위해서 userId를 1로 바꿨습니다!

3. 유저 접속 정보 notify

1이 connect/disconnect 되었을 때 1의 online/offline 상태에 대한 정보를 kafka로 전송하는 작업
ex)
{
"userId": "1",
"status": "online",
"friends": ["2", "3"],
"timestamp": 1707558301000
}

📸 스크린샷(optional)

@yoo-chris yoo-chris changed the title Be state/dev/feat state/#134 [BE] FEAT: state server, produce "1 connect" to kafka Feb 11, 2025
@yoo-chris yoo-chris self-assigned this Feb 11, 2025
@yoo-chris yoo-chris merged commit 0e872e7 into dev Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BE] FEAT: state server, produce "A connect" to kafka
1 participant