@Override
  public Optional<RegionObserver> getRegionObserver() {
    return Optional.of(this);
  }
An Observer to add HFile References to replication queue.
hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationObserver.java