Skip to content

Conversation

@leegyeongwhan
Copy link
Member

@leegyeongwhan leegyeongwhan commented Dec 3, 2023

🔑 Key Changes

  • Post 크롤링시 새 글이 등록 될 시 회원에게 보낼 Event를 받을 Event Queue 구현
  • 회원에게 보낼 알림은 Slack을 이용한다.

👩‍💻 To Reviewers

  • Slack hook url을 사용해서 Slack 채널에 메시지를 보냅니다. Slack url은 git submoudles에 올려뒀습니다. Pull하셔서 사용하시면 됩니다.

Related to

@leegyeongwhan leegyeongwhan self-assigned this Dec 4, 2023
@leegyeongwhan leegyeongwhan added 🧑🏻‍💻 backend 백엔드 로직에 관련된 라벨입니다. ✨ feature 기능 구현에 관련된 라벨입니다. labels Dec 4, 2023
Copy link
Collaborator

@crtEvent crtEvent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨어요! 실제도 되는거 보니까 넘 신기해요!!
완성되면 더 세세하게 보고 공부해 볼게요!

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class SubscribeEventQueue {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SubscribeEventQueue 가 여러 군데에서 쓰이는데 싱글톤(or 스프링 빈)으로 관리되고 있나요? 아니면 싱글톤일 필요가 없나요?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EventQueueInitializer 클래스에서 bean으로 등록했습니다. static 메서드를 이용해서 사이즈도 이때 설정했습니다.

@leegyeongwhan leegyeongwhan merged commit 780e832 into sprint Dec 4, 2023
@crtEvent crtEvent deleted the week1/feat#92-alrt-api branch January 9, 2024 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🧑🏻‍💻 backend 백엔드 로직에 관련된 라벨입니다. ✨ feature 기능 구현에 관련된 라벨입니다.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants