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

Kirk True updated KAFKA-19214:
------------------------------
    Issue Type: Improvement  (was: Bug)

> Clean up use of Optionals in RequestManagers.entries()
> ------------------------------------------------------
>
>                 Key: KAFKA-19214
>                 URL: https://issues.apache.org/jira/browse/KAFKA-19214
>             Project: Kafka
>          Issue Type: Improvement
>          Components: clients, consumer
>    Affects Versions: 4.0.0
>            Reporter: Kirk True
>            Assignee: Kirk True
>            Priority: Major
>
> 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