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

Feature request: Kafka Parser support #1498

Closed
2 tasks done
ran-isenberg opened this issue Sep 4, 2022 · 2 comments
Closed
2 tasks done

Feature request: Kafka Parser support #1498

ran-isenberg opened this issue Sep 4, 2022 · 2 comments
Labels
feature-request feature request

Comments

@ran-isenberg
Copy link
Contributor

ran-isenberg commented Sep 4, 2022

Use case

see #1484

When using a Kafka event source either from self-managed Apache Kafka or Amazon MSK there should be a relevant data class for easy iteration/decoding.

Such functionality is implemented already in aws-lambda-go and in aws-lambda-java-libs.

Solution/User Experience

@event_parser(model=MyALambdaKafkaBusiness, envelope=envelopes.KafkaEnvelope)
def handle_lambda_kafka_with_envelope(event: List[MyALambdaKafkaBusiness], _: LambdaContext):
    assert event[0].key == "value"
    assert len(event) == 1


@event_parser(model=KafkaEventModel)
def handle_kafka_event(event: KafkaEventModel, _: LambdaContext):
    return event

Alternative solutions

No response

Acknowledgment

@ran-isenberg ran-isenberg added feature-request feature request triage Pending triage from maintainers labels Sep 4, 2022
@github-actions github-actions bot added the pending-release Fix or implementation already in dev waiting to be released label Sep 9, 2022
@github-actions
Copy link
Contributor

This is now released under 1.29.0 version!

@github-actions github-actions bot removed the pending-release Fix or implementation already in dev waiting to be released label Sep 13, 2022
@leandrodamascena leandrodamascena added the pending-release Fix or implementation already in dev waiting to be released label Sep 13, 2022
@github-actions
Copy link
Contributor

This is now released under 1.29.1 version!

@github-actions github-actions bot removed the pending-release Fix or implementation already in dev waiting to be released label Sep 13, 2022
@heitorlessa heitorlessa removed the triage Pending triage from maintainers label Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request feature request
Projects
None yet
Development

No branches or pull requests

3 participants