Learn more about the options you have when migrating brokers and copying data between brokers.
This method involves more manual work to modify JSON, but does not require manual edits to configuration files.
- Modify the broker IDs in
This method involves less manual work, but requires modifying an internal configuration file.
- You can use
rsyncto copy over all data from an old broker to a new broker, preserving modification times and permissions.
Continue reading for instructions on how to move brokers by modifying broker IDs or using
rsync. For instructions on how to migrate brokers with
kafka-reassign-partitions, see the
kafka-reassign-partitions tool description. For specific instructions on
how to migrate existing Kafka partitions to JBOD configured disks, see JBOD disk