You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Colin P. McCabe (JIRA)" <ji...@apache.org> on 2016/11/29 18:10:58 UTC

[jira] [Updated] (KAFKA-4439) Add a builder to NetworkClient

     [ https://issues.apache.org/jira/browse/KAFKA-4439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colin P. McCabe updated KAFKA-4439:
-----------------------------------
    Status: Patch Available  (was: Open)

> Add a builder to NetworkClient
> ------------------------------
>
>                 Key: KAFKA-4439
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4439
>             Project: Kafka
>          Issue Type: Improvement
>          Components: network
>            Reporter: Colin P. McCabe
>            Assignee: Colin P. McCabe
>            Priority: Minor
>
> NetworkClient's constructors have too many parameters.  This makes it hard to follow what each value is being initialized to.  Instead, let's use the builder pattern to clearly identify what each parameter is and provide sensible defaults for each.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)