Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Behavior-wise they'd throttle the addingReplicas of the LeaderAndIsrRequest during reassignment. Also leader.replication.throttled.replicas and follower.replication.throttled.replicas would take precedence over these new reassignment configs to ensure backward compatibility. 

To change these configs, the user must have ALTER_CONFIG privilege on the given cluster config as imposed by the incrementalAlterConfigs API which will be the medium for applying the configuration. By adding the new configs we'd also like to remove the related zookeeper dependencies in the kafka-reassign-partitions.sh command, so applying the quota would happen through the AdminClient API.

...

The only change which needs to be mentioned is the tooling change. With this we'll change the --throttle option's behavior. If for some reason the old behavior is needed it can be reproduced by calling kafka-configs.sh manually before and after the reassignment with the intended parameters.The old configs (leader.replication.throttled.replicas and follower.replication.throttled.replicas) would take precedence over these new reassignment configs to ensure backward compatibility.