You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Claude Warren (Jira)" <ji...@apache.org> on 2025/07/30 11:00:00 UTC

[jira] [Commented] (KAFKA-19381) Add a ConfigDef.ConfigKey builder

    [ https://issues.apache.org/jira/browse/KAFKA-19381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18010885#comment-18010885 ] 

Claude Warren commented on KAFKA-19381:
---------------------------------------

Kip 1198 opened:  https://cwiki.apache.org/confluence/display/KAFKA/KIP-1198%3A+implement+a+ConfigKey.Builder+class

> 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)