on Replication End
Flushes the events collected during replicationNumber and empties the buffer so the next replication starts clean.
Flushes the events collected during replicationNumber and empties the buffer so the next replication starts clean.