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

[보류] [OrderServiceplaceOrder] AWS SQS로 주문내역 보내기 기능 추가 #65

Conversation

daadaadaah
Copy link
Collaborator

@daadaadaah daadaadaah commented Jun 23, 2023

What

Comment

@daadaadaah daadaadaah mentioned this pull request Jun 23, 2023
10 tasks
@daadaadaah daadaadaah changed the title AWS SQS로 주문내역 보내기 기능 추가 [OrderServiceplaceOrder] AWS SQS로 주문내역 보내기 기능 추가 Jun 23, 2023
@f-lab-TJ
Copy link

SQS를 왜 사용하는건가요? 현재 저희가 구현하는 것들의 workflow 중에 동기방식으로 해결이 안되는 케이스가 무엇인가요?
결제는 어떤식으로 진행되는 것으로 가정/결론 내리고 진행 중 인가요?

public void sendMessage(String message) {
if (message == null) {
final String errorMessage = "empty message";
throw new RuntimeException(errorMessage);

Choose a reason for hiding this comment

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

message가 빈 경우는 runtime 에러인가요?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

이거 사용자 정의 예외 만들어서 수정해보겠습니다!

@daadaadaah
Copy link
Collaborator Author

daadaadaah commented Jun 24, 2023

SQS를 왜 사용하는건가요? 현재 저희가 구현하는 것들의 workflow 중에 동기방식으로 해결이 안되는 케이스가 무엇인가요?

  • MySQL에 쓰기 부하가 몰릴 것 같아서, 비동기 처리 하려고 SQS 를 사용하려고 했는데, 지금 생각해보니, 일단 MySQL로 구현해서 정말 문제가 발생하는지, 발생한다면 어떤 문제가 발생하는지를 파악부터 하는게 더 좋을 것 같네요!

결제는 어떤식으로 진행되는 것으로 가정/결론 내리고 진행 중 인가요?

@daadaadaah daadaadaah closed this Jun 30, 2023
@daadaadaah
Copy link
Collaborator Author

주문 API 수정 후 ReOpen 할지 판단하기

@daadaadaah daadaadaah changed the title [OrderServiceplaceOrder] AWS SQS로 주문내역 보내기 기능 추가 [보류] [OrderServiceplaceOrder] AWS SQS로 주문내역 보내기 기능 추가 Jun 30, 2023
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.

2 participants