@Override
    public ReplicationPeerConfigBuilder setNamespaces(Set<String> namespaces) {
      this.namespaces = namespaces;
      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