This component is an experimental processor, forked from the core
OpenTelemetry Collector batchprocessor
component.
The differences in this component, relative to that component are:
- Synchronous pipeline support: this component blocks each producer until the request returns with success or an error status code.
- Maximim in-flight-bytes setting. This component measures the in-memory size of each request it admits to the pipeline and otherwise stalls requests until they timeout.
- Unlimited concurrency: this component will start as many goroutines as needed to send batches through the pipeline.
Here is an example configuration:
processors:
concurrentbatch:
send_batch_max_size: 1500
send_batch_size: 1000
timeout: 1s
max_in_flight_size_mib: 128
In this configuration, the component will admit up to 128MiB of request data before stalling.