What is the limit posting messages to Azure Service Bus.

Inspirisys Admin 21 Reputation points
2020-09-03T10:45:36.347+00:00

Hi,

There is a limit on the message size posted in the Azure Service Bus queue. But would like to know is there a limit in posting number of messages to the queue?

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
703 questions
0 comments No comments
{count} votes

Accepted answer
  1. MayankBargali-MSFT 70,941 Reputation points Moderator
    2020-09-03T11:33:24.13+00:00

    Hi @Inspirisys Admin

    There is no limit to the number of messages that you can send to the service bus. This depends upon the message size of the individual messages that you are sending per call and the batch size that you have set in your application.

    Let's take an example you have created a standard SKU of service bus and using the batch operation to send the messages. The batch size you have set is 10.
    So the number of messages will depend on the size of each message and the batch size that you have defined.

    For standard SKU, message size limits to 256 KB including header and message content. So if your each message size is 50KB then your application will only send 5 messages (50*5 = 250 KB) per call despite the batch size that you have set. If your message size is 10KB then your application will only send 10 messages (10*10 = 100 KB) as the batch size limit has reached that was set by your application.

    Hope the above helps. Please let me know if you have any queries.

    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.