public List<List<Integer>> assignments() {
        return newAssignments;
    }
The replica assignments for the new partitions, or null if the assignment will be done by the controller.
clients/src/main/java/org/apache/kafka/clients/admin/NewPartitions.java