event example: check the local replica matches the remote

Signed-off-by: David Scott <dave.scott@citrix.com>