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

Rabbit Batch Subscriber approach #1975

Open
HybridBit opened this issue Dec 8, 2024 · 1 comment
Open

Rabbit Batch Subscriber approach #1975

HybridBit opened this issue Dec 8, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@HybridBit
Copy link
Contributor

I am looking to migrate from celery to faststream and I am just wondering what would be the best way to archive a Rabbit Batch Subscriber similar to https://celery-batches.readthedocs.io/en/latest/how_it_works.html?

@Lancetnik
Copy link
Member

celery worker process to queue tasks in memory until either the flush_interval or flush_every is reached and passes that list of tasks to the worker in the processing pool together.

I think, it is a bad abstraction, that hides from user how the thing works. I don't like an idea to accumulate messages in memory before pass them to user, so this functional could be added as an example in the How-To section, but we shouldn't create a special API for it.

@Lancetnik Lancetnik added enhancement New feature or request documentation Improvements or additions to documentation labels Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants