private ReplicationPeerStorage create(String type, FileSystem fs, ZKWatcher zk) {
    Configuration conf = new Configuration(getConf());
    conf.set(ReplicationStorageFactory.REPLICATION_PEER_STORAGE_IMPL, type);
    return ReplicationStorageFactory.getReplicationPeerStorage(fs, zk, conf);
  }
A tool for copying replication peer data across different replication peer storages.
<p/>
Notice that we will not delete the replication peer data from the source storage, as this tool
can also be used by online migration. See HBASE-27110 for the whole design.
hbase-replication/src/main/java/org/apache/hadoop/hbase/replication/CopyReplicationPeers.java