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

Is there a way to do batch processing? #144

Open
arkonchik opened this issue Nov 22, 2018 · 4 comments
Open

Is there a way to do batch processing? #144

arkonchik opened this issue Nov 22, 2018 · 4 comments

Comments

@arkonchik
Copy link

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

@odolbeau
Copy link
Member

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
Copy link
Author

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

Consumer get more than one message at time.

@odolbeau
Copy link
Member

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
Copy link
Contributor

lyrixx commented Nov 28, 2018

I have the same needs 👍
@arkonchik Would you mind creating a PR ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants