Skip to content

[pkg/stanza] Stanza operators should not split batches of entries #39575

Open
@andrzej-stencel

Description

@andrzej-stencel

Component(s)

pkg/stanza

Is your feature request related to a problem? Please describe.

With the introduction of batching in File consumer in #35455, Stanza operators can now receive a batch of entries for processing, instead of single entries. Currently, the default implementation of the ProcessBatch method of every operator is to run Process on every entry in the batch, effectively splitting the batch into single entries. This has a negative impact on performance.

Describe the solution you'd like

All Stanza operators that can be configured in File Log receiver operators configuration should be able to process batches of entries without splitting the batches (unless that's strictly necessary for the operator's funcitonality).

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions