Skip to content

Increase Sqs sink test coverage. Add more metrics#5693

Merged
kkondaka merged 1 commit into
opensearch-project:mainfrom
kkondaka:sqs-sink-tests
May 16, 2025
Merged

Increase Sqs sink test coverage. Add more metrics#5693
kkondaka merged 1 commit into
opensearch-project:mainfrom
kkondaka:sqs-sink-tests

Conversation

@kkondaka

Copy link
Copy Markdown
Collaborator

Description

Added tests to increase sqs sink test coverage to 0.99.
Added distribution summary metrics to capture request latency and request size
Fixed bugs

Issues Resolved

Resolves #[Issue number to be closed when this PR is merged]

Check List

  • [X ] New functionality includes testing.
  • New functionality has a documentation issue. Please link to it in this PR.
    • New functionality has javadoc added
  • [X ] Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Krishna Kondaka <krishkdk@amazon.com>
fifoQueue = queueUrl.endsWith(SQS_FIFO_SUFFIX);
entries = new HashMap<>();
currentBatchEntry = null;
currentId = null;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you please explain what is the purpose of this

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is used in deletion of messages.

@kkondaka kkondaka merged commit 5a88e6e into opensearch-project:main May 16, 2025
45 of 47 checks passed
alparish pushed a commit to alparish/data-prepper that referenced this pull request May 22, 2025
…#5693)

Signed-off-by: Krishna Kondaka <krishkdk@amazon.com>
@kkondaka kkondaka added this to the v2.12 milestone Jun 24, 2025
@kkondaka kkondaka deleted the sqs-sink-tests branch July 1, 2025 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants