Claude Warren created KAFKA-19381: ------------------------------------- Summary: Add a ConfigDef.ConfigKey builder Key: KAFKA-19381 URL: https://issues.apache.org/jira/browse/KAFKA-19381 Project: Kafka Issue Type: Improvement Components: clients Affects Versions: 4.0.0 Reporter: Claude Warren
The ConfigDef.define() methods increased in number of parameters to the point where it is difficult to maintain. This proposal is to add a ConfigKey.Builder. The builder must: * Be extensible since ConfigKey is. * Be created by calling ConfigKey.builder(name), where name is the name of the config parameter. * Provide reasonable defaults as found in the current ConfigDef.define() methods. * during its build() method call a new constructor in ConfigKey that takes the Builder as an argument -- This message was sent by Atlassian Jira (v8.20.10#820010)