Loading…
Loading…
4 карточек
What is a Dead Letter Queue and why is it needed?
нажми, чтобы перевернуть
A DLQ is a separate queue where failed messages end up. Reasons: poison message (invalid format), timeout, exception in consumer. Retry policy: 3 attempts with backoff -> DLQ. Monitoring the DLQ is critical — alert when messages appear. Reprocessing: after a fix, messages can be resent from the DLQ.
Когда да
Any production message queue — it's a safety net
Когда нет
There's no case where it's not needed — a DLQ is mandatory
Совет на собеседовании
A DLQ is a sign of a production-ready system. Without one — data loss
Свайп вправо — знаю, влево — не знаю
