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

Add integration tests for end to end acknowledgement #264

@cmacknz

Description

@cmacknz

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.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions