awslabs / awslabs/amazon-sqs-java-extended-client-lib

api deleteMessage(DeleteMessageRequest deleteMessageRequest) not deleting message from S3 even when doesCleanupS3Payload = true

Open
#73 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
232
Forks
113
PR merge metrics
No merged PRs in 30d

Description

api is calling internally **isS3ReceiptHandle(receiptHandle)** which will always **return false** as receiptHandle does not contain
receiptHandle.contains(SQSExtendedClientConstants.S3_BUCKET_NAME_MARKER)
&& receiptHandle.contains(SQSExtendedClientConstants.S3_KEY_MARKER);

**payloadStore.deleteOriginalPayload(messagePointer) is called only when isS3ReceiptHandle returns true**.

Sounds like bug. If not bug, please let me know how receiptHandle will contain requiredText while sending message from extendedClient

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.