-
Notifications
You must be signed in to change notification settings - Fork 436
Closed
Labels
bugSomething isn't workingSomething isn't workingparserParser (Pydantic) utilityParser (Pydantic) utility
Description
Expected Behaviour
Hello,
the envelope KafkaSelfManagedEventModel should have eventSource = Literal["SelfManagedKafka"]
Current Behaviour
Currently, it expects eventSource = Literal["aws:SelfManagedKafka"]
Code snippet
class KafkaSelfManagedEventModel(KafkaBaseEventModel):
"""Self-managed Apache Kafka event trigger
Documentation:
--------------
- https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html
"""
eventSource: Literal["SelfManagedKafka"]
Possible Solution
No response
Steps to Reproduce
parse with envelope
Powertools for AWS Lambda (Python) version
latest
AWS Lambda function runtime
3.9
Packaging format used
PyPi
Debugging logs
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingparserParser (Pydantic) utilityParser (Pydantic) utility
Type
Projects
Status
Shipped