kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin P. McCabe (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-4439) Add a builder to NetworkClient
Date Thu, 24 Nov 2016 01:39:58 GMT
Colin P. McCabe created KAFKA-4439:

             Summary: 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
            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

View raw message