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

Apache Kafka event source for local development #3380

Closed
ghost opened this issue Oct 21, 2021 · 4 comments
Closed

Apache Kafka event source for local development #3380

ghost opened this issue Oct 21, 2021 · 4 comments

Comments

@ghost
Copy link

ghost commented Oct 21, 2021

Describe your idea/feature/enhancement

I wish SAM CLI would add a new kafka event source to trigger a lambda function locally. The idea is to set a breakpoint in the FunctionHandler() which should be hit if I create a new message in kafka which runs in a local docker container on windows. Also it would be great if you would extend the payload generator at https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-local-generate-event.html

Proposal

Add a new event source type to the existing once described at https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-eventsource.html

Additional Details

There is already the event source type "MSK" described at https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-msk.html which only seems to work with AWS and not within a local environment

@CoshUS
Copy link
Contributor

CoshUS commented Nov 4, 2021

Thanks for the feature request! We have a roadmap here, but we also try to take in popular feature requests based on 👍🏽 from the community. We will be adding this to our intake for prioritization.

@ghost
Copy link
Author

ghost commented Mar 4, 2022

Hello everyone
It seems that my requested feature has been implemented (see https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-selfmanagedkafka.html)

Thanks for your support.

Cheers
bep0st

@jfuss
Copy link
Contributor

jfuss commented Aug 29, 2022

Given last comment, this was solved (and added to SAM Spec).

Closing

@jfuss jfuss closed this as completed Aug 29, 2022
@mostrovoi
Copy link

Still missing the payload generator for MSK :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants