Skip to content

Bug: make key in Kafka schema to be optional #3841

@leandrodamascena

Description

@leandrodamascena

Expected Behavior

Original issue: aws-powertools/powertools-lambda-python#6508

The key key must be optional in the Kakfa schema

Current 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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcompletedThis item is complete and has been merged/shippedgood-first-issueSomething that is suitable for those who want to start contributing

Type

No type

Projects

Status

Shipped

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions