Azure-docs: Clarification on maximum number of queues per namespace

Created on 11 Jun 2019  Â·  8Comments  Â·  Source: MicrosoftDocs/azure-docs

This page comparing storage queues and Service Bus says the maximum number of queues per namespace is 10,000, but this page says:

> Each subscription counts against the quota of 1,000 entities, that is, queues, topics, and subscriptions, per namespace

This directly contradicts the 10,000 maximum mentioned elsewhere. Also, this "quota of 1,000 entities" doesn't seem to be mentioned anywhere else on this page?

Is there really a limit on of only 1,000 on the number of combined queues, topics and subscriptions?


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri2 assigned-to-author product-question service-bus-messaginsvc triaged

Most helpful comment

Fyi @cocowalla, after creating 10,000 topics, I can still create queues on the same namepace. So the topic limits don't count towards the limit of queues, although I've not looked at the limits on queues.

All 8 comments

@cocowalla Thank you for your feedback! We will review and update as appropriate.

I'd also like to know whether the Azure Service Bus queue limit is 1,000 or 10,000. Additionally, would this apply to other entities such as topics/subscriptions? This will have significant impact on our architecture.

This gets interesting. I can create 10,000 topics. creating anymore results in the following error:

Microsoft.ServiceBus.Messaging.QuotaExceededException
  HResult=0x80131500
  Message=The remote server returned an error: (403) Forbidden. SubCode=40300. The maximum number of resources of type Topic has been reached or exceeded. Actual: 10000, Max allowed: 10000.

Now I'm trying to see how many subscriptions I can create on the first topic created to see if I can bust some sort of limit per-topic, then across topics.

It looks like the maximum number of subscriptions is 2,000 per-topic. I get the following error after creating as many subscriptions as I can on the first topic:

Microsoft.ServiceBus.Messaging.QuotaExceededException
  HResult=0x80131500
  Message=The remote server returned an error: (403) Forbidden. The number of maximum allowed subscriptions have been reached or exceeded. Number of subscriptions:2001, Max number of subscriptions allowed: 2000.

I can continue to create subscriptions on other topics within the same namespace.

Fyi @cocowalla, after creating 10,000 topics, I can still create queues on the same namepace. So the topic limits don't count towards the limit of queues, although I've not looked at the limits on queues.

@brentnewbury-work seems like the docs definitely need some updates then! :smile:

@cocowalla I have assigned this to content author to review and update as appropriate.

I've approved the changes and these will be merged soon.

please-close

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tvperez76 picture tvperez76  Â·  55Comments

Frankwayne picture Frankwayne  Â·  53Comments

keithdv picture keithdv  Â·  41Comments

DanijelMalik picture DanijelMalik  Â·  82Comments

TechTrooper picture TechTrooper  Â·  41Comments