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

Ksolves India Limited commented on KAFKA-5511:
----------------------------------------------

We can implement a ConfigKeyBuilder to follow the builder pattern. However, the 
existing define method calls must be retained due to their use in method 
chaining with overloaded define methods, ensuring backward compatibility.

> ConfigDef.define() overloads take too many parameters
> -----------------------------------------------------
>
>                 Key: KAFKA-5511
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5511
>             Project: Kafka
>          Issue Type: Improvement
>          Components: clients
>            Reporter: Evgeny Veretennikov
>            Priority: Minor
>
> Builder pattern can be helpful to get rid of all these {{define()}} 
> overloads. I think, it's better to create some {{ConfigKeyBuilder}} class to 
> construct keys.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to