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: Batching by Time Window or Event Count #46

Open
valeeum opened this issue Oct 8, 2022 · 2 comments
Open

Feature Request: Batching by Time Window or Event Count #46

valeeum opened this issue Oct 8, 2022 · 2 comments
Labels
help wanted Extra attention is needed Type: Enhancement New feature or request

Comments

@valeeum
Copy link

valeeum commented Oct 8, 2022

Would it be feasible to add a feature that allows to buffer/queue incoming events for a period of time and/or a maximum event count before firing the channel handler? There's a similar feature in AWS lambda and it would be very useful in building out data pipelines where bulk data operations can more efficiently insert/upsert data. If i'm overthinking this and there's an easier workaround or solution, please let me know.

https://aws.amazon.com/about-aws/whats-new/2020/11/aws-lambda-now-supports-batch-windows-of-up-to-5-minutes-for-functions/

@ujwal-setlur
Copy link
Contributor

This would be very useful indeed!

@icebob icebob added help wanted Extra attention is needed Type: Enhancement New feature or request labels Feb 1, 2023
@intech
Copy link
Member

intech commented Feb 2, 2023

You can solve this with Benthos and add it to every node in the pipeline. There is Message Batching.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed Type: Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants