8000 GitHub - JisooJang/coucle-notification: event consumer app handling notification action(emailSender, SmsSender...) using Apache Kafka.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

JisooJang/coucle-notification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

coucle-notification

  • event consumer app handling notification action(emailSender, SmsSender...) using Apache Kafka.
  • notification service managed by spring-cloud-eureka
  • using spring-cloud-openfeign for REST client.

제공 기능 (Kafka Consumer)

Kafka Error handling

  • rest 통신 응답 결과가 클라이언트 측의 에러 코드인 경우를 제외하고, 기본 5초 간격으로 retry 5회 실행 후,
    이후에도 에러가 발생하거나 rest 에러 코드가 지속되는 경우 dead-letter-topic으로 전달. ({기존 레코드 토픽명}.failure)
  • 각 dead-letter-topic도 KafkaListener를 통해 consume하고 있으며, 구체적인 레코드 헤더, 시간, 내용 등 로그 처리.
  • NHN TOAST API 에러 코드 참고 : https://docs.toast.com/ko/Notification/SMS/ko/error-code/

About

event consumer app handling notification action(emailSender, SmsSender...) using Apache Kafka.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0