Send a list of {@linkplain Event events} to the associated Flume source.
This method blocks until the RPC returns or until the request times out.
It is strongly recommended that the number of events in the List be no more than {@link #getBatchSize()}. If it is more, multiple RPC calls will be required, and the likelihood of duplicate Events being stored will increase.
Note: If this method throws an {@link EventDeliveryException}, there is no way to recover and the application must invoke {@link #close()} on this object to clean up systemresources.
@param events List of events to send
@return
@throws EventDeliveryException when an error prevents event delivery.