Skip to content

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Oct 29, 2024

Proposed commit message

The call to ConsumeLogs can fail in various ways. If the error is of type "Permanent", retrying will have no effect. For any other error, we need to retry the batch. Additionally, only acknowledge a batch when the collector confirms receipt of the data to avoid losing events.

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

Author's Checklist

  • I'm unsure about the batch.Drop() in the permanent error case, should I handle it in a different way?

Related issues

…#41457)

The call to `ConsumeLogs` can fail in various ways. If the error is of
type "Permanent", retrying will have no effect. For any other error,
we need to retry the batch. Additionally, only acknowledge a batch
when the collector confirms receipt of the data to avoid losing events.

(cherry picked from commit e20e486)
@mergify mergify bot requested review from a team as code owners October 29, 2024 16:18
@mergify mergify bot added the backport label Oct 29, 2024
@mergify mergify bot requested review from VihasMakwana and faec and removed request for a team October 29, 2024 16:18
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Oct 29, 2024
@pierrehilbert pierrehilbert requested review from mauri870 and removed request for VihasMakwana and faec October 29, 2024 17:17
@pierrehilbert pierrehilbert added the Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team label Oct 29, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Oct 29, 2024
@pierrehilbert pierrehilbert enabled auto-merge (squash) October 29, 2024 17:17
@pierrehilbert pierrehilbert merged commit 47006c1 into 8.x Oct 29, 2024
@pierrehilbert pierrehilbert deleted the mergify/bp/8.x/pr-41457 branch October 29, 2024 17:56
@khushijain21 khushijain21 mentioned this pull request Jun 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants