...
Discussion thread:
JIRA:
Motivation
To gives have more flexibility, builders should be provided for the following objects
...
These builders will give an easy way to construct these objects using different arguments/combinations without having to add a new constructor every time a new parameter is required.
They will also allow using already configured dependencies coming from an injection framework such as Spring (see https://github.com/spring-projects/spring-kafka/issues/2244).
From a user point of view, builders would be used as follow
...
No compatibility issue and no migration plan are required as this KIP will create new builders to give more flexibility.
Kafka users will simply have more ways to build producers, consumers and a topology test driver without any impacts on the existing.
Rejected Alternatives
/