What is AlterReplicaLogDirs?
Moves replicas to a different disk on the same broker via kafka-reassign-partitions.sh, rebalancing disk usage without cross-broker data movement. The move is asynchronous; use DescribeLogDirs to monitor progress by checking the futureLogDir field.
| Version | Kafka | Changes |
|---|---|---|
| AlterReplicaLogDirsRequest | ||
| v1 | 2.2 | is the same as version 0. |
| v2 | 2.8 | ~ Flexible encoding enabled FLEXIBLE enables flexible versions. |
| AlterReplicaLogDirsResponse | ||
| v1 | 2.2 | on quota violation brokers send out responses before throttling. |
| v2 | 2.8 | ~ Flexible encoding enabled FLEXIBLE enables flexible versions. |