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
| Author | Francois Rosiere |
| Status | Discussion |
| JIRA | KAFKA-13913 |
| Wiki | View on Apache Wiki |
| Created | 2022-05-18 |
| Last Modified | 2022-09-06 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.