bschmitt/laravel-amqp

Publish multiple messages - Batch publish

Closed this issue · 10 comments

I'm having trouble pushing 200+ messages at once. Each publish takes ~2 seconds, that's really slow.

I'm having the same issue and this library doesn't support it. It uses basic_publish and there isn't any option to use batch_basic_publish.

I'd love to extend possibilities but i'm not even sure how active this repository is. I see there are 3 PRs in queue already 👎

The library doesn't support batch_basic_publish for now. But feel free to provide a PR. There are 3 PRs in review, some of them don't follow the intention of this library.

I created a version of this library, with the support. After further testing, I'd like to put here as PR.

Do that @joskfg 👍

Initial approach #93

Thank you for the contribution. I would like to merge this for our next release.
Please fix the necessary docblocks and appropriate method scope.

-Steven

Fixed docblocks and method scope.

Will be published in the next release.