[
https://issues.apache.org/jira/browse/KAFKA-18999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17936051#comment-17936051
]
Ismael Juma commented on KAFKA-18999:
-------------------------------------
We should not make changes like this since it results in loss of type safety
and makes the code less readable. Records exist to make this kind of thing less
verbose, so there's even less reason to avoid domain classes.
> Remove BrokerMetadata
> ---------------------
>
> Key: KAFKA-18999
> URL: https://issues.apache.org/jira/browse/KAFKA-18999
> Project: Kafka
> Issue Type: Improvement
> Reporter: Chia-Ping Tsai
> Assignee: PoAn Yang
> Priority: Major
>
> After KAFKA-17565 gets merged, It will be a temporary data structure used by
> `ReassignPartitionsCommand`, so we can replace `BrokerMetadata` by either a
> map or List<Entry>
>
> ref:
> https://github.com/apache/kafka/blob/trunk/server-common/src/main/java/org/apache/kafka/admin/BrokerMetadata.java
--
This message was sent by Atlassian Jira
(v8.20.10#820010)