Skip to content
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

Bug: KafkaSelfManagedEventModel eventSource not correct #5559

Open
Mavtti opened this issue Nov 14, 2024 · 0 comments
Open

Bug: KafkaSelfManagedEventModel eventSource not correct #5559

Mavtti opened this issue Nov 14, 2024 · 0 comments
Labels
bug Something isn't working triage Pending triage from maintainers

Comments

@Mavtti
Copy link

Mavtti commented Nov 14, 2024

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

@Mavtti Mavtti added bug Something isn't working triage Pending triage from maintainers labels Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Pending triage from maintainers
Projects
Development

No branches or pull requests

1 participant