JA-5390 - Add "eventType" field to event envelope to distinguish between regular, replay and upgrade events