conduktor.io ↗

metadata.max.idle.ms — Kafka Producer Configuration

Controls how long the producer will cache metadata for a topic that's idle. If the elapsed time since a topic was last produced to exceeds the metadata idle duration, then the topic's metadata is forgotten and the next access to it will force a metadata fetch request.

Description

Controls how long the producer will cache metadata for a topic that's idle. If the elapsed time since a topic was last produced to exceeds the metadata idle duration, then the topic's metadata is forgotten and the next access to it will force a metadata fetch request.

Default Values by Kafka Version

Kafka VersionDefault Value
2.5300000
2.6300000 (5 minutes)
2.7300000 (5 minutes)
2.8300000 (5 minutes)
3.0300000 (5 minutes)
3.1300000 (5 minutes)
3.2300000 (5 minutes)
3.3300000 (5 minutes)
3.4300000 (5 minutes)
3.5300000 (5 minutes)
3.6300000 (5 minutes)
3.7300000 (5 minutes)
3.8300000 (5 minutes)
3.9300000 (5 minutes)
4.0300000 (5 minutes)
4.1300000 (5 minutes)
4.2300000 (5 minutes)

Related Configs

metadata.max.age.ms

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