azure-sdk-for-python icon indicating copy to clipboard operation
azure-sdk-for-python copied to clipboard

Implement Send Message batch for Service Bus

Open makhdumi opened this issue 10 years ago • 3 comments

Unlike Receive Message, there is an API for batch Send Message.

Please consider implementing this, or allowing a pull request for it. While using AMQP was recommended in #459 for high-performance because of HTTP limits, it's a massive pain to just install the AMQP Proton bindings because it needs to be built from the source. I actually save myself a lot of time by just switching to AWS Kinesis.

I don't need super high performance, it's just extremely inefficient to send hundreds of tiny 120-byte messages with the relatively huge HTTP header overhead.

makhdumi avatar Nov 30 '16 22:11 makhdumi

Hi @makhdumi

We totally allow PRs, you don't have to ask first :). Improving the HTTP SB package is unfortunately not a priority, but if you can provide a PR I will be happy to review and discuss, and release a package asap after that. If I find time in near future to do so, I will try, but I cannot promise anything. Thank you,

lmazuel avatar Dec 01 '16 17:12 lmazuel

@makhdumi Released https://pypi.python.org/pypi/azure-servicebus/0.21.0 Thank you for the feedback!

lmazuel avatar Jan 13 '17 20:01 lmazuel

@lmazuel Where can i find example of batch send operation for service bus using AMQP? Thanks!

rajata07 avatar May 08 '20 13:05 rajata07