You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Steve Rodrigues (Jira)" <ji...@apache.org> on 2021/03/04 20:42:00 UTC

[jira] [Created] (KAFKA-12420) Kafka network Selector class has many constructors; use a Builder pattern instead

Steve Rodrigues created KAFKA-12420:
---------------------------------------

             Summary: Kafka network Selector class has many constructors; use a Builder pattern instead
                 Key: KAFKA-12420
                 URL: https://issues.apache.org/jira/browse/KAFKA-12420
             Project: Kafka
          Issue Type: Improvement
          Components: network
    Affects Versions: 2.7.0
            Reporter: Steve Rodrigues
            Assignee: Steve Rodrigues


The Kafka network Selector has a myriad of constructor parameters and to deal with its multiple use cases this class has 6 distinct constructors taking up to 12 parameters (or various combinations thereof). The proposal for this small task is to have a builder pattern to consolidate to a simple path going forward.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)