Μια dead letter queue (DLQ) είναι όπου πηγαίνουν τα μηνύματα όταν δεν μπορούν να επεξεργαστούν ή πληροφορούν ορισμένες συνθήκες (απορρίφθησαν, λήγησαν, η ουρά είναι γεμάτη). Οι DLQ αποτρέπουν τα προβληματικά μηνύματα από το να χαθούν ή να μπλοκάρουν την επεξεργασία, ενεργοποιώντας την αργότερη επιθεώρηση και διαχείριση.
Τι είναι μια dead letter queue
DEAD LETTER QUEUE → a queue that receives messages that couldn't be delivered/processed
normally:
→ messages are "dead-lettered" (routed to the DLQ) when they:
- are REJECTED/nacked (consumer can't process them) without requeue
- EXPIRE (message TTL exceeded)
- exceed the queue's MAX LENGTH (overflow)
→ the DLQ collects these for inspection/handling instead of losing them
→ a "holding area" for problematic messages
