conduktor.io ↗

producer.id.expiration.ms — Kafka Broker Configuration

The time in ms that a topic partition leader will wait before expiring producer IDs. Producer IDs will not expire while a transaction associated to them is still ongoing.

Description

The time in ms that a topic partition leader will wait before expiring producer IDs. Producer IDs will not expire while a transaction associated to them is still ongoing. Note that producer IDs may expire sooner if the last write from the producer ID is deleted due to the topic's retention settings. Setting this value the same or higher than delivery.timeout.ms can help prevent expiration during retries and protect against message duplication, but the default should be reasonable for most use cases.

Default Values by Kafka Version

Kafka VersionDefault Value
3.486400000 (1 day)
3.586400000 (1 day)
3.686400000 (1 day)
3.786400000 (1 day)
3.886400000 (1 day)
3.986400000 (1 day)
4.086400000 (1 day)
4.186400000 (1 day)
4.286400000 (1 day)
Manage Kafka configs across all your clusters with Conduktor Console — view, compare, and update configurations in one place.