conduktor.io ↗

KIP-839 — Provide builders for KafkaProducer/KafkaConsumer and KafkaStreams

Discussion Client

Proposes fluent builder classes for `KafkaProducer`, `KafkaConsumer`, `KafkaAdminClient`, and `KafkaStreams` that accept typed dependencies (serializers, metrics reporters, interceptors) via named methods rather than a raw `Properties` map. This enables constructor injection from DI frameworks like Spring and eliminates the need for stringly-typed property keys in application code.

Details

AuthorFrancois Rosiere
StatusDiscussion
JIRAKAFKA-13913
WikiView on Apache Wiki
Created2022-05-18
Last Modified2022-09-06
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.