-
Notifications
You must be signed in to change notification settings - Fork 421
make key in Kafka event to be optional #6508
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
Thanks for opening your first issue here! We'll come back to you as soon as we can. |
Hi @Weugene! Thanks for opening this issue! I thought the Do you want to send a PullRequest to make this field optional? I think you will have to change the Please let me know, if you can't fix this, I'm happy to send a PR to fix. |
Dear @leandrodamascena, |
Hey @tirekh! Sure, please let me know if you need any help! 😃 |
|
Expected Behaviour
I can't use
KafkaBaseEventModel(**event)
if a record doesn't contain key field!it should parse the event
Current Behaviour
it writes:
Code snippet
Possible Solution
make key optional
Steps to Reproduce
I added MWE
Powertools for AWS Lambda (Python) version
latest
AWS Lambda function runtime
3.11
Packaging format used
PyPi
Debugging logs
The text was updated successfully, but these errors were encountered: