swarrot / SwarrotBundle

A symfony bundle for swarrot integration
MIT License
89 stars 59 forks source link

Is there a way to do batch processing? #144

Open arkonchik opened 5 years ago

arkonchik commented 5 years ago

If i need to consume batch of message in consumer, how can i reach this?

odolbeau commented 5 years ago

What do you mean by "consuming batch of message"?

Your consumer can consume hundreds of messages but it consume them one by one. Does it answer to your question?

arkonchik commented 5 years ago

I want that consumers can have interface like this public function batchExecute(array $messages)

Consumer get more than one message at time.

odolbeau commented 5 years ago

Unfortunately, that's not possible yet but you're not the only one to ask for this functionality. Feel free to propose an implementation in https://github.com/swarrot/swarrot

lyrixx commented 5 years ago

I have the same needs :+1: @arkonchik Would you mind creating a PR ?