I'm using the Azure Service Bus REST API to send a batch of messages to a topic. My namespace is a "Standard" SKU, it means that I have a maximum message size of 256KB.
When using the batch send, it sounds like the limit is per batch (max is 256KB for the batch) and not per message. Nothing is really explained in the documentation, am I right?
And unfortunately, I receive a "Bad Request" error instead of a "Quota exceeded or message too large." error (status 403).
I want to know if I missed something here or if the batch size is also limited to 256KB? And why I didn't receive a 403 error in this case?
Thanks.
The batch is treated no different from a single message. It's a payload. Payload cannot exceed 256KB on Standard Tier (1MB on Premium). Batch dodo cannot contain more than a 100 messages.
You can find more info on the topic and how to handle it in my blog post.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With