KIP-886 — Add Client Producer and Consumer Builders
Discussion ClientProducerConsumer
Introduces a fluent builder API for `KafkaProducer` and `KafkaConsumer` with named methods, typed enum parameters, and Javadoc for each configuration option. The existing constructor takes an untyped `Properties` map, offering no IDE autocomplete, no type safety, and no discoverability of valid configuration values.
Details
| Author | Daniel Scanteianu |
| Status | Discussion |
| JIRA | KAFKA-14373 |
| Wiki | View on Apache Wiki |
| Created | 2022-11-10 |
| Last Modified | 2023-04-14 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.