hachikuji opened a new pull request #8891: URL: https://github.com/apache/kafka/pull/8891
As part of the KIP-455 changes to the reassignment command, we lost the ability to change the throttle of an active reassignment. Previously this was supported by resubmitting the current reassignment with --execute and changing the --throttle option. This was always a strange approach and it was not supported with explicit testing, so that's probably why it was dropped. However, it is extremely useful for users to be able to change the throttle of an active reassignment, so losing this capability is a regression. Rather than restoring the previous confusing behavior, this patch adds support through a new `--alter-throttle` option. I figure that this change can be piggybacked on KIP-455, supposing there is basic agreement about it. We can also do a separate KIP if necessary, but we probably need some solution to avoid regression in 2.6. The basic usage is the following: ``` kafka-reassign-partition.sh --alter-throttle --throttle 30000000 --bootstrap-server localhost:9092 ``` It can also be used to change the log dir reassignment throttle. ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org