27439 update sample application

Replace the EventListener with EventBus notifications to subscribe to replication complete/error events.