FlowchartRetry & error handlingMedium
Dead-letter queue handling
Consumer with main queue, retry queue, and dead-letter queue for poison messages.
What this diagram shows
Step 01
Main path
Producers push to the main queue and consumers ack the happy path.
Step 02
Retry queue
Transient failures land in a retry queue that feeds back into the consumer.
Step 03
Poison isolation
Messages that keep failing move to a dead-letter queue for manual triage.
About flowchart diagrams
Flowcharts map out a process as boxes and arrows. They work well when you need to explain how a decision, workflow, or pipeline moves from one step to the next.
This template is written in Mermaid — plain text you can edit, version in git, and regenerate the image from any time.
View Mermaid sourcePlain-text diagram syntax — copy or edit directly.
diagram.mmd
1graph LR2 Producer[Producer] --> Main[(Main queue)]3 Main --> Consumer[Consumer]4 Consumer -->|ok| Ack[Ack]5 Consumer -->|fail| Retry[(Retry queue)]6 Retry --> Consumer7 Consumer -->|exceeded retries| DLQ[(Dead-letter queue)]8 DLQ --> Triage[Manual triage]Related
Related templates
More templates that cover similar workflows.