BACKLOG-5067 : basic implementation for last event match