Jason Gustafson created KAFKA-10143:
---------------------------------------

             Summary: Can no longer change replication throttle with 
reassignment tool
                 Key: KAFKA-10143
                 URL: https://issues.apache.org/jira/browse/KAFKA-10143
             Project: Kafka
          Issue Type: Improvement
            Reporter: Jason Gustafson
             Fix For: 2.6.0


Previously we could use --execute with the --throttle option in order to change 
the quota of an active reassignment. We seem to have lost this with KIP-455. 
The code has the following comment:
```
    val reassignPartitionsInProgress = zkClient.reassignPartitionsInProgress()
    if (reassignPartitionsInProgress) {
      // Note: older versions of this tool would modify the broker quotas here 
(but not
      // topic quotas, for some reason).  This behavior wasn't documented in 
the --execute
      // command line help.  Since it might interfere with other ongoing 
reassignments,
      // this behavior was dropped as part of the KIP-455 changes.
      throw new 
TerseReassignmentFailureException(cannotExecuteBecauseOfExistingMessage)
    }
```
Seems like it was a mistake to change this because it breaks compatibility. We 
probably have to revert.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to