conduktor.io ↗

KIP-487 — Automatic Topic Creation on Producer

Discussion ProducerClient

Proposes a `allow.auto.create.topics` configuration for the producer client that controls whether producing to a non-existent topic triggers an auto-creation metadata request. The current auto-topic-creation is triggered implicitly during metadata fetches, conflating metadata retrieval with topic creation—a side effect that is surprising, makes metadata requests non-idempotent, and bypasses AdminClient-based topic lifecycle management.

Details

AuthorJustine Olshan
StatusDiscussion
JIRAKAFKA-8657
WikiView on Apache Wiki
Created2019-07-10
Last Modified2019-08-06
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.