-
Notifications
You must be signed in to change notification settings - Fork 154
Bug: Kinesis Firehose SQS Record schema should fail parsing if data is invalid #3249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
While working on this, if picked up after #3248, remove change the corresponding unit test from |
Happy to pick this up if you want. Seems like a very straightforward change. |
This issue is now closed. Please be mindful that future comments are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so. |
This is now released under v2.13.1 version! |
Expected Behavior
As per title, when working with a Kinesis Firehose event that contains a SQS event in the data field, if the field is not a valid SQS event the entire parsing should fail.
Current Behavior
Currently if this happens, the parsing is successful and the data is returned as-is.
Code snippet
N/A
Steps to Reproduce
N/A
Possible Solution
The schema should be modified from this:
to something like this:
Powertools for AWS Lambda (TypeScript) version
latest
AWS Lambda function runtime
20.x
Packaging format used
npm
Execution logs
No response
The text was updated successfully, but these errors were encountered: