Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

Add integration tests for end to end acknowledgement #264

Open
1 of 6 tasks
Tracked by #16
cmacknz opened this issue Feb 28, 2023 · 0 comments
Open
1 of 6 tasks
Tracked by #16

Add integration tests for end to end acknowledgement #264

cmacknz opened this issue Feb 28, 2023 · 0 comments
Assignees
Labels
Team:Elastic-Agent Label for the Agent team

Comments

@cmacknz
Copy link
Member

cmacknz commented Feb 28, 2023

Add tests to confirm that the shipper does not lose data when retries are necessary or the shipper is restarted. The goal is to ensure we continue to satisfy Filebeat's "at least once" delivery guarantee: https://www.elastic.co/guide/en/beats/filebeat/current/how-filebeat-works.html#at-least-once-delivery

  • A test should exists to prove that data published to the shipper is asynchronously acknowledged when:
  • Data is successfully written to the output system using any retry policy.
  • Data fails to write and then succeeds after an initial error when using the infinite or max retry policies.
  • Data fails to write and then is dropped when using a max retry policy.
  • A test should exist to prove that end to end acknowledgement behaves correctly when the shipper is restarted during publishing. Specifically, acknowledgement or queue identifiers must not not reused between restarts of the process to avoid acknowledgement collisions.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Team:Elastic-Agent Label for the Agent team
Projects
None yet
Development

No branches or pull requests

3 participants