Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

typo error #33

Closed
MathiasHaudgaard opened this issue Apr 16, 2021 · 3 comments
Closed

typo error #33

MathiasHaudgaard opened this issue Apr 16, 2021 · 3 comments

Comments

@MathiasHaudgaard
Copy link

ReceiptHandle: message.ReceiptHandle,

ReceiptHandle: message.ReceiptHandle,

pretty sure that it should be receiptHandle with lower case and not ReceiptHandle. 😃

Btw, keep up the good work 👍

@YanivD
Copy link
Contributor

YanivD commented Apr 18, 2021

Hi @MathiasHaudgaard, thank you for opening this issue.

As I can see at SQS client types - it spelled ReceiptHandle.

Please let me know if I missed something.

@MathiasHaudgaard
Copy link
Author

@YanivD I'm using the library in lambda function, the same way as you described in https://github.com/aspecto-io/sns-sqs-big-payload/blob/master/docs/usage-in-lambda.md

However, I've set deleteAfterProcessing to true so each successful message wil not get retried if one message fails.
I assume it's a lambda thing because in the input to the lamdba function I can see that receiptHandle is spelled with lowercase r.
When i changed from ReceiptHandle to receiptHandle in your library it worked 😃
Not sure if I'm using your library in a different way than you intended.

@MathiasHaudgaard
Copy link
Author

Just realized that #22 probably addresses the issue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants