Skip to content

[otelconsumer] evaluate at least once delivery and queue settings #41529

@leehinman

Description

@leehinman

To have at least once delivery guarantee the otel exporter should use the exportbatcher. But this can create poor performance

Example 1

If there is just one event, we have to wait for the Beats queue timeout before it is sent to the exportbatcher queue, and then wait for the exportbatcher queue timeout before it is sent to the final destination. This means wait for both timeouts.

Example 2

If the beats bulk_max_size is less than the exportbatcher min_size_items then the batch will wait in the exportbatcher queue until the exportbatcher timeout. This means waiting for one timeout even though the beats code is blocked and can't progress.

We need to evaluate how best to remove negative interactions between the two queues.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions