private static void modifyReassignmentThrottle(
        Admin admin,
        Map<String, Map<Integer, PartitionMove>> moveMap,
        Long interBrokerThrottle
    ) throws ExecutionException, InterruptedException {
        Map<String, String> leaderThrottles = calculateLeaderThrottles(moveMap);
        Map<String, String> followerThrottles = calculateFollowerThrottles(moveMap);
        modifyTopicThrottles(admin, leaderThrottles, followerThrottles);

        Set<Integer> reassigningBrokers = calculateReassigningBrokers(moveMap);
        modifyInterBrokerThrottle(admin, reassigningBrokers, interBrokerThrottle);
    }
Modify the topic configurations that control inter-broker throttling.

@param adminClient         The adminClient object to use.
@param leaderThrottles     A map from topic names to leader throttle configurations.
@param followerThrottles   A map from topic names to follower throttle configurations.
tools/src/main/java/org/apache/kafka/tools/reassign/ReassignPartitionsCommand.java