faststream icon indicating copy to clipboard operation
faststream copied to clipboard

Rabbit Batch Subscriber approach

Open ghost opened this issue 1 year ago • 2 comments

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?

ghost avatar Dec 08 '24 03:12 ghost

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 avatar Dec 08 '24 08:12 Lancetnik

I am ready to take this on!

uuuutsu avatar Jan 15 '25 17:01 uuuutsu