liveBook · Manning

Dead letter queue

A dead-letter queue is a destination that stores messages or records that cannot be delivered or processed normally for later inspection, retry, handling, or disposal.

How 4 Manning books explain it

MongoDB 8.0 in Action, Third Edition

A dead-letter queue is a queue that stores messages or records that cannot be processed so they can be inspected, reprocessed, or discarded later.

How it is used
Keeps stream processing moving by separating unprocessable records for later inspection and handling.
How deep it goes
Explains processor-level configuration, validation routing, and operational practices; notes that validationAction "dlq" logs without guarantees.
Examples
Illustrates failed dailySales validation and a Kafka-backed processor configured to store problematic records in ErrorLogs.TransactionErrors.
What you can do after
Operate/configure it with sp.createStreamProcessor, then monitor the MongoDB collection and plan how to handle failed records.

Read how MongoDB 8.0 in Action, Third Edition explains dead letter queue →

Amazon Web Services in Action, Third Edition: An in-depth guide to AWS

A dead-letter queue is a queue that receives messages that exceed a configured number of unsuccessful processing attempts.

How it is used
Supports fault-tolerant image-processing infrastructure alongside an SQS queue.
How deep it goes
Defines the retry-threshold destination but stops short of showing its queue configuration or processing behavior.
Examples
Uses the Imagery application and its CloudFormation deployment as the concrete infrastructure example.
What you can do after
Operate a deployed SQS-based application whose infrastructure includes a dead-letter queue.

Read how Amazon Web Services in Action, Third Edition: An in-depth guide to AWS explains dead letter queue →

Architecting an Apache Iceberg Lakehouse

A dead-letter queue is a side channel that stores records rejected or unprocessable by a normal data-processing path for later inspection or correction.

How it is used
Keeps ingestion operational while isolating rejected records for later inspection or correction.
How deep it goes
Explains placement within hybrid error handling but stops short of specifying queue formats, retention, or replay procedures.
Examples
Uses problematic rows from semistructured or external sources and unresolvable ingestion errors as representative DLQ contents.
What you can do after
Operate resilient ingestion by combining critical-field checks, controlled casting, automated recovery, and DLQ redirection.

Read how Architecting an Apache Iceberg Lakehouse explains dead letter queue →

Kafka Streams in Action, Second Edition

A dead letter queue is a Kafka topic that stores records a connector cannot deliver or process successfully.

How it is used
Handles sink-connector failures by preserving undeliverable records while the connector continues processing.
How deep it goes
Configures tolerance, topic naming, headers, and replication, but does not detail DLQ consumption or replay procedures.
Examples
Uses an Elasticsearch sink connector writing failed records to the orientation_student_dlq topic.
What you can do after
Operate/configure a Kafka Connect sink connector with continued processing and diagnosable failed records.

Read how Kafka Streams in Action, Second Edition explains dead letter queue →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.