private static EventAggregator getEventAggregator(JFREventType jfrEventType) {
        // config aggregator
        switch (jfrEventType) {
            case EXECUTION_SAMPLE:
                return new EventAggregator(true, false);
            case PROFILER_LIVE_OBJECT:
            case OBJECT_ALLOCATION_IN_NEW_TLAB:
            case OBJECT_ALLOCATION_OUTSIDE_TLAB:
            case LOCK:
            case JAVA_MONITOR_ENTER:
            case THREAD_PARK:
                return new EventAggregator(true, true);
            default:
                throw new IllegalStateException("EventAggregator is not support event type : " + jfrEventType);
        }
    }
JFRConverter is copied from one.jfr.JfrConverter. Because need to
add collectMultiEvents and getEventAggregator methods, to parse 
and process multiple events at one time.
oap-server/server-library/library-async-profiler-jfr-parser/src/main/java/one/jfr/JFRConverter.java