nizhikov commented on code in PR #14096:
URL: https://github.com/apache/kafka/pull/14096#discussion_r1286889351


##########
core/src/main/scala/kafka/admin/ReassignPartitionsCommand.scala:
##########
@@ -607,7 +608,8 @@ object ReassignPartitionsCommand extends Logging {
     groupedByTopic.forKeyValue { (topic, assignment) =>
       val (_, replicas) = assignment.head
       val assignedReplicas = AdminUtils.
-        assignReplicasToBrokers(brokerMetadatas, assignment.size, 
replicas.size)
+        assignReplicasToBrokers(brokerMetadatas.asJavaCollection, 
assignment.size, replicas.size).

Review Comment:
   Yes. We can do it. Fixed.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to