@Override
    public ReplicationPeerConfigBuilder putPeerData(byte[] key, byte[] value) {
      this.peerData.put(key, value);
      return this;
    }
Use remote wal dir to decide whether a peer is sync replication peer
hbase-client/src/main/java/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.java