public Configuration getLocalConfiguration() {
      return localConf;
    }
ReplicationEndpoint is a plugin which implements replication to other HBase clusters, or other
systems. ReplicationEndpoint implementation can be specified at the peer creation time by
specifying it in the {@link ReplicationPeerConfig}. A ReplicationEndpoint is run in a thread in
each region server in the same process.
<p>
ReplicationEndpoint is closely tied to ReplicationSource in a producer-consumer relation.
ReplicationSource is an HBase-private class which tails the logs and manages the queue of logs
plus management and persistence of all the state for replication. ReplicationEndpoint on the
other hand is responsible for doing the actual shipping and persisting of the WAL entries in the
other cluster.
hbase-server/src/main/java/org/apache/hadoop/hbase/replication/ReplicationEndpoint.java