O coadă de litere moarte (DLQ) este locul unde ajung mesajele atunci când nu pot fi procesate sau îndeplinesc anumite condiții (respinse, expirate, coadă plină). DLQ-urile previn ca mesajele problematice să fie pierdute sau să blocheze procesarea, permițând inspectarea și gestionarea ulterioară.
Ce este o coadă de litere moarte
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
