Nest.js & Kafkajs | Error Handling + Class Design

Опубликовано: 26 Апрель 2026
на канале: Michael Guay
18,114
432

In this video we refactor our Kafkajs implementation to follow SOLID design principles and also implement error handling mechanisms like a retry & dead letter queue.

GitHub Repo: https://github.com/mguay22/nestjs-kafka
Kafka Quickstart: https://kafka.apache.org/quickstart
Original Tutorial:    • Nest.js + Kafka Tutorial With KafkaJS in 1...  
Nest.js Starter Repo: https://github.com/mguay22/nestjs-sta...
Nest.js MongoDB Tutorial:    • Setup MongoDB With Nest.js | Simple + Scal...  

Timestamps
0:54 Introduction
4:10 Project Setup
5:30 Consumer Refactor
21:52 Producer Refactor
32:10 Retries
35:40 Dead Letter Queue

Get my highly-rated Udemy courses at a discount here: https://michaelguay.dev/udemy/