Bug: make key in Kafka schema to be optional #3841
Labels
bug
Something isn't working
good-first-issue
Something that is suitable for those who want to start contributing
pending-release
This item has been merged and will be released soon
Expected Behavior
Original issue: aws-powertools/powertools-lambda-python#6508
The key
key
must be optional in the Kakfa schemaCurrent Behavior
This is required: https://github.com/aws-powertools/powertools-lambda-typescript/blob/main/packages/parser/src/schemas/kafka.ts#L12
Code snippet
no code
Steps to Reproduce
no code
Possible Solution
No response
Powertools for AWS Lambda (TypeScript) version
latest
AWS Lambda function runtime
22.x
Packaging format used
npm
Execution logs
The text was updated successfully, but these errors were encountered: