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

refactor: Updated Foods Kafka DeadLetter Handler #85

Conversation

koreanMike513
Copy link
Collaborator

  • Dead Letter Topic을 다시 시작하는 requeue 로직을 추가하였습니다.
  • ExceptionUtil에 checkRequeue 메서드를 noRequeue 로 이름을 조금 더 직관적으로 변경하였습니다.
  • Dead Letter Topic이 실패하였을 때를 가정하여 새로운 ErrorCode를 추가하였습니다.

@koreanMike513 koreanMike513 added the enhancement New feature or request label Jan 29, 2025
@koreanMike513 koreanMike513 self-assigned this Jan 29, 2025
@@ -16,7 +16,7 @@ public enum ErrorCode {

// KAFKA
KAFKA_RETRY_FAIL_EXCEPTION("오류 발생! 잠시 후 다시 시도해주세요.", 503),

KAFKA_DEAD_LETTER_TOPIC_FAIL_EXCEPTION("데드레터토픽을 다루는데 실패하였습니다.", 500),

Choose a reason for hiding this comment

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

이 오류는 사용자에게 노출이 될까요?

@koreanMike513 koreanMike513 merged commit c1994ac into refactor/update-log Jan 30, 2025
1 check passed
@koreanMike513 koreanMike513 deleted the refactor/update-foods-kafka-deadletter-handler branch January 30, 2025 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants