How to limit number of queues which user can create?

21 views
Skip to first unread message

Jiří Šimák

unread,
Feb 24, 2020, 10:54:49 AM2/24/20
to rabbitmq-users
Hello RabbitMQ Team,

I would like to limit number of queues which user can create. I have checked the documentation and found that there are some limits for max channels open per connection and vhost queue limitation (number of queues per vhost) which is not exactly what I want.

I figured out that I could do that via rabbitmq_auth_backend_ldap (which I use), but I would have to limit queue name suffix as well and this would not be enough for me:

{permission, configure,
  {match,
    { string, "${name}" },
    { string, "^"
              "(queue\\.${username}\\.number1)"
              "|"
              "(queue\\.${username}\\.number2)"
               ...
              "$"
    }
  }
}

Am I missing an existing solution or is there something that would solve my issue planned for a future release?

Thank you
Jiri Simak

Luke Bakken

unread,
Feb 24, 2020, 11:56:36 AM2/24/20
to rabbitmq-users
Hi Jiri,

There is no limit to the number of queues a user can create. Such a limit is not planned for a future release.

Thanks,
Luke

Michael Klishin

unread,
Feb 28, 2020, 3:07:06 PM2/28/20
to rabbitmq-users
There is a limit on how many queues a virtual host can have but not how many a user can declare.

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/c78c2f52-6b82-4a35-befb-0a8053e2ab92%40googlegroups.com.


--
MK

Staff Software Engineer, Pivotal/RabbitMQ
Reply all
Reply to author
Forward
0 new messages