Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_int-dlq

Dead-Letter Queue (DLQ) & Poison-Pill Quarantine Internals

7 COMPONENTS · 5 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[![Dead-Letter Queue (DLQ) & Poison-Pill Quarantine Internals — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_int-dlq/opengraph-image)](https://archos.sageideas.dev/d/dgm_int-dlq)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_int-dlq)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_int-dlq" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Dead-Letter Queue (DLQ) & Poison-Pill Quarantine Internals — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0["Main Event Topic"]
  con_1["Idempotent Consumer"]
  ret_2[("Backoff Retry Topic")]
  dlq_3[("Dead-Letter Queue")]
  alr_4["DLQ Depth Alerter"]
  red_5["Audited Redrive Tool"]
  downstream_6["Downstream & OTel"]
  client_0 -.->|"1. Consume · Kafka/SQ"| con_1
  con_1 -.->|"2a. Transient · Retry"| ret_2
  con_1 -.->|"2b. Non-retrya · DLQ"| dlq_3
  red_5 -->|"Throttled · Redrive"| con_1
  dlq_3 -.->|"3. Emit / · OTLP/API"| downstream_6

COMPONENT STACK (7)

  • Main Event TopicSTATELESS
    At-least-once messages
  • Idempotent ConsumerSTATELESS
    Checks dedup key + max_retries=3
  • Backoff Retry TopicSTATEFUL
    Delayed retry
  • Dead-Letter QueueSTATEFUL
    Original payload + stack trace
  • DLQ Depth AlerterSTATELESS
    Pages on non-zero poison spike
  • Audited Redrive ToolSTATELESS
    Rate-limited replay after fix
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (5)

  1. Main Event Topic → Idempotent Consumer (Consume)[Kafka/SQ]
  2. Idempotent Consumer → Backoff Retry Topic (Transient)[Retry]
  3. Idempotent Consumer → Dead-Letter Queue (Non-retrya)[DLQ]
  4. Audited Redrive Tool → Idempotent Consumer (Throttled)[Redrive]
  5. Dead-Letter Queue → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →