[ https://issues.apache.org/jira/browse/KAFKA-14595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17688429#comment-17688429 ]
Nikolay Izhikov commented on KAFKA-14595: ----------------------------------------- Hello To reduce changes and make them reviewable I propose to split task into several. As a first step it seems feasible to move value-objects(sealed case classes and traits) from scala code to java. These classes are: * PartitionMove * LogDirMoveState * MissingReplicaMoveState and other LogDirMoveState implementations. * TerseReassignmentFailureException After it we can move to java code actual command code. I move the `PartitionReassignmentState` class into WIP PR [1] to show proposed way. [~mimaison], [~omnia_h_ibrahim] What do you think? If proposed way works for you - I will move other case classes to java code shortly. [1] https://github.com/apache/kafka/pull/13247 > Move ReassignPartitionsCommand to tools > --------------------------------------- > > Key: KAFKA-14595 > URL: https://issues.apache.org/jira/browse/KAFKA-14595 > Project: Kafka > Issue Type: Sub-task > Reporter: Mickael Maison > Assignee: Nikolay Izhikov > Priority: Major > -- This message was sent by Atlassian Jira (v8.20.10#820010)