Interface EventBatch


  • public interface EventBatch
    Batch of events to be considered as single item to be processed. New events can be appended at any time unless the events have already been consumed - by calling events method.
    • Method Detail

      • append

        void append​(Object rawEvent)
        Appends new event in its raw format - meaning as it was generated
        Parameters:
        rawEvent - event to be appended to the batch
      • events

        Collection<DataEvent<?>> events()
        Returns all events appended to this batch already converted to DataEvents
        Returns:
        converted events