Asynchronous batch emitter
Store events in buffer and send them with POST request when buffer exceeds bufferSize
Backed by java.util.concurrent.LinkedBlockingQueue
, which has
capacity of Int.MaxValue
will block thread when buffer reach capacity
Asynchronous emitter using LinkedBlockingQueue
Synchronous batch emitter
Store events in buffer and send them with POST request when buffer exceeds bufferSize
.
Synchronous batch emitter
Store events in buffer and send them with POST request when buffer exceeds bufferSize
.
The underlying buffer is thread-safe.
The actual sending of events blocks the current thread, up to @blockingDuration
Blocking emitter.
Blocking emitter. This emitter blocks whole thread (from global execution context) for specified amount of time. Use at own risk