Skip to content

Feature request: Support for MSK in Batch Processing #2969

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

Closed
2 tasks done
einarjohnson opened this issue Aug 17, 2023 · 5 comments
Closed
2 tasks done

Feature request: Support for MSK in Batch Processing #2969

einarjohnson opened this issue Aug 17, 2023 · 5 comments
Labels
batch Batch processing utility feature-request feature request need-customer-feedback Requires more customers feedback before making or revisiting a decision revisit-in-3-months Requires more customers feedback before making or revisiting a decision

Comments

@einarjohnson
Copy link

Use case

Add support for batch processing partial failures when using a MSK/Kafka event source map. This is currently supported for Amazon SQS, Amazon Kinesis Data Streams, and Amazon DynamoDB Streams and it would be great to have this feature for Kafka also.

Solution/User Experience

Having the same interface, or something similar, to what we already have for SQS.

Alternative solutions

No response

Acknowledgment

@einarjohnson einarjohnson added feature-request feature request triage Pending triage from maintainers labels Aug 17, 2023
@boring-cyborg
Copy link

boring-cyborg bot commented Aug 17, 2023

Thanks for opening your first issue here! We'll come back to you as soon as we can.
In the meantime, check out the #python channel on our Powertools for AWS Lambda Discord: Invite link

@heitorlessa heitorlessa changed the title Feature request: TITLE Feature request: Support for MSK in Batch Processing Aug 17, 2023
@leandrodamascena
Copy link
Contributor

Hello @einarjohnson! In fact this is a nice feature, we see a growing number of customers asking for Batch Processing support on EventSource other than SQS, DynamoDB, and Kinesis.

The main benefit of our batch processing utility is the ability to handle partial failures and return only failed messages to the source, and currently, Lambda does not support PartialFailure when using MSK.

I will keep this issue open to allow the community to give it a thumbs up and we will pass this need from our customers to the Lambda team. I don't have an estimated date of when I can update this issue with any news, but as soon as I have news I'll come back here to update.

Thank you so much for bringing these ideas to Powertools, this is priceless.

@leandrodamascena leandrodamascena self-assigned this Aug 17, 2023
@leandrodamascena leandrodamascena added need-customer-feedback Requires more customers feedback before making or revisiting a decision batch Batch processing utility and removed triage Pending triage from maintainers labels Aug 17, 2023
@leandrodamascena leandrodamascena added the revisit-in-3-months Requires more customers feedback before making or revisiting a decision label Aug 17, 2023
@einarjohnson
Copy link
Author

Thanks for the quick response @leandrodamascena . Given the nature of Kafka/consumer offsets this feature might be tricky to implement. But it would be great to have at some stage, very exited to see if this gains some momentum with the AWS lambda team and gets implemented in some way.

@leandrodamascena
Copy link
Contributor

Hello everyone! We don't know if BatchPartialFailure support will be integrated into MSK, so I'm closing this issue as unplanned for now.

However, we are keeping an eye on all releases from the Lambda/Poller team and if support is added, we will reopen this issue.

Thank you.

Copy link
Contributor

⚠️COMMENT VISIBILITY WARNING⚠️

This issue is now closed. Please be mindful that future comments are hard for our team to see.

If you need more assistance, please either tag a team member or open a new issue that references this one.

If you wish to keep having a conversation with other community members under this issue feel free to do so.

@leandrodamascena leandrodamascena moved this from Coming soon to Closed in Powertools for AWS Lambda (Python) Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
batch Batch processing utility feature-request feature request need-customer-feedback Requires more customers feedback before making or revisiting a decision revisit-in-3-months Requires more customers feedback before making or revisiting a decision
Projects
Development

No branches or pull requests

2 participants