একটি ডেড লেটার কিউ (DLQ) হল এমন একটি জায়গা যেখানে বার্তা যায় যখন সেগুলি প্রক্রিয়া করা যায় না বা নির্দিষ্ট শর্ত পূরণ করে (প্রত্যাখ্যাত, মেয়াদোত্তীর্ণ, কিউ পূর্ণ)। DLQগুলি সমস্যাজনক বার্তাগুলিকে হারিয়ে যাওয়া বা প্রক্রিয়াকরণে বাধা দেওয়া থেকে রোধ করে, পরবর্তী পরিদর্শন এবং পরিচালনা সক্ষম করে।
ডেড লেটার কিউ কী
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
