public <E extends IVersionedApimanEvent> E fireEvent(E event) {
        // These fields may not be set.
        event.getHeaders()
             .setEventVersion(getEventVersion(event))
             .setType(getType(event))
             .setTime(OffsetDateTime.now());
        if (isActive()) {
            eventDispatcher.fire(event);
            LOGGER.debug("Fired event: {0}", event);
        } else {
            LOGGER.debug("EventService is deactivated. Event will be discarded: {0}");
        }
        return event;
    }
Fire an event extending {@link IVersionedApimanEvent}. This implementation will attempt to set

@return the event sent with event version, type, and time set.
manager/api/rest-impl/src/main/java/io/apiman/manager/api/events/EventService.java