Kirk True created KAFKA-19214:
---------------------------------

             Summary: Clean up use of Optionals in RequestManagers.entries()
                 Key: KAFKA-19214
                 URL: https://issues.apache.org/jira/browse/KAFKA-19214
             Project: Kafka
          Issue Type: Bug
          Components: clients, consumer
    Affects Versions: 4.0.0
            Reporter: Kirk True
            Assignee: Kirk True


The use of {{Optional}} as a wrapper for the individual {{RequestManager}} 
instances in {{RequestManagers}} makes sense, but there's little need to for 
the {{entries()}} API to include {{{}Optional{}}}.

The idea here is to build up a {{List<RequestManager>}} that contains only the 
non-null entries and return that directly. This will cut down on a bit of 
clutter and awkwardness for users of the API.



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

Reply via email to