Negyvosios raides eilė (DLQ) yra vieta, kurioje atsiduria pranešimai, kurie negali būti apdoroti arba atitinka tam tikras sąlygas (atmesti, pasibaigę galiojimo laiką, eilė pilna). DLQ nuo problematiškų pranešimų apsaugo juos nuo praradimo ar apdorojimo blokavimo, leidžiant vėliau juos patikrinti ir apdoroti.
Kas yra negyvosios raides eilė
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
