Class BatchLogRecordProcessor

java.lang.Object
io.opentelemetry.sdk.logs.export.BatchLogRecordProcessor
All Implemented Interfaces:
LogRecordProcessor, Closeable, AutoCloseable

public final class BatchLogRecordProcessor extends Object implements LogRecordProcessor
Implementation of the LogRecordProcessor that batches logs exported by the SDK then pushes them to the exporter pipeline.

All logs reported by the SDK implementation are first added to a synchronized queue (with a maxQueueSize maximum size, if queue is full logs are dropped). Logs are exported either when there are maxExportBatchSize pending logs or scheduleDelayNanos has passed since the last export finished.

Since:
1.27.0