conduktor.io ↗

delivery.timeout.ms — Kafka Producer Configuration

An upper bound on the time to report success or failure after a call to send() returns. This limits the total time that a record will be delayed prior to sending, the time to await acknowledgement from the broker (if expected), and the time allowed for retriable send failures

Description

An upper bound on the time to report success or failure after a call to send() returns. This limits the total time that a record will be delayed prior to sending, the time to await acknowledgement from the broker (if expected), and the time allowed for retriable send failures. The producer may report failure to send a record earlier than this config if either an unrecoverable error is encountered, the retries have been exhausted, or the record is added to a batch which reached an earlier delivery expiration deadline. The value of this config should be greater than or equal to the sum of request.timeout.ms and linger.ms.

Default Values by Kafka Version

ComponentKafka version lineDocumented default
Producer2.1120000
Producer2.2120000
Producer2.3120000
Producer2.4120000
Producer2.5120000
Producer2.6120000 (2 minutes)
Producer2.7120000 (2 minutes)
Producer2.8120000 (2 minutes)
Producer3.0120000 (2 minutes)
Producer3.1120000 (2 minutes)
Producer3.2120000 (2 minutes)
Producer3.3120000 (2 minutes)
Producer3.4120000 (2 minutes)
Producer3.5120000 (2 minutes)
Producer3.6120000 (2 minutes)
Producer3.7120000 (2 minutes)
Producer3.8120000 (2 minutes)
Producer3.9120000 (2 minutes)
Producer4.0120000 (2 minutes)
Producer4.1120000 (2 minutes)
Producer4.2120000 (2 minutes)
Producer4.3120000 (2 minutes)
Producer4.4120000 (2 minutes)

Tuning Recommendation

Workload-dependent proposals, not benchmarked defaults. Review the versioned Config Advisor before applying.

ProfileProposalRationale and tradeoff
producer / throughput300000Bounds the delivery attempt window after send() returns, including batching, acknowledgement waits and retryable failures.

Tradeoff: A longer window delays final failure reporting and can hold buffered records longer. It must be at least request.timeout.ms + linger.ms in Java.

Reference · 2026-10-27
producer / latency10000Bounds the delivery attempt window after send() returns, including batching, acknowledgement waits and retryable failures.

Tradeoff: A longer window delays final failure reporting and can hold buffered records longer. It must be at least request.timeout.ms + linger.ms in Java.

Reference · 2026-10-27
producer / durability300000Bounds the delivery attempt window after send() returns, including batching, acknowledgement waits and retryable failures.

Tradeoff: A longer window delays final failure reporting and can hold buffered records longer. It must be at least request.timeout.ms + linger.ms in Java.

Reference · 2026-10-27

Related Configs

retries · retry.backoff.ms · retry.backoff.max.ms · request.timeout.ms · max.block.ms · linger.ms · acks · transaction.timeout.ms · buffer.memory

Manage Kafka configs across all your clusters with Conduktor Console — view, compare, and update configurations in one place.