A dead letter queue (DLQ) एक स्थान हो जहाँ सन्देशहरू जान्छन् जब तिनीहरू प्रक्रिया गर्न सकिँदैन वा निश्चित शर्तहरू पूरा गर्छन् (अस्वीकृत, समाप्त, queue भरिएको)। DLQs समस्याग्रस्त सन्देशहरूलाई हराउने वा प्रक्रियालाई रोक्नबाट बचाउँछन्, पछि निरीक्षण र सम्हालको लागि सक्षम गर्दै।
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
