This would be helpful. For our own client library wrappers we implemented this functionality for any type with defaults for <String,String> and <String, Avro> consumers/producers.
On Thu, Nov 10, 2022, 6:35 PM Dan S <danielms...@gmail.com> wrote: > Hello all, > > I think that adding builders for the producer and the consumer in kafka > client would make it much easier for developers to instantiate new > producers and consumers, especially if they are using an IDE with > intellisense, and using the IDE to navigate to the documentation which > could be added to the builder's withXYZ methods. > > Please let me know if you have any comments, questions, or suggestions! > > > https://cwiki.apache.org/confluence/display/KAFKA/KIP-886%3A+Add+Client+Producer+and+Consumer+Builders > > Thanks, > > Dan >