[
https://issues.apache.org/jira/browse/KAFKA-19381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18017921#comment-18017921
]
Claude Warren commented on KAFKA-19381:
---------------------------------------
Mailing list discussion:
https://lists.apache.org/thread/lyqx89cyg6lonk9ncfrnmql5v0sp4n9y
> 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
> Assignee: Mahesh Sambaram
> Priority: Minor
>
> 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)