Skip to content

Apply cross vhost policy&limit through rabbitmqctl or definition import #4011

@al3xsun

Description

@al3xsun

Hi, there:

Upon looking into applying a cross-vhost policy or vhost limit (apply to multiple vhosts & automatically gets added when new vhost created), I found this issue with a similar ask.

I checked out the definition import suggested in the thread and found that the definition import still requires me specifying each vhost name, if I were to specify * for vhost name and import, it would state Virtual host '*' does not exist. Please let me know if I am doing this incorrectly

Therefore I have two questions:

  1. Is there or would there be support for cross-vhost policy (such that with pattern matching, if vhost gets added after the policy is applied and it matches the vhost name pattern, the policy would get applied to it)

  2. If answer to question 1 is no. Is there a way for me to import a definition that applies certain policy to current and future vhosts added, meaning defining a global policy that limit on all current & future vhosts and import it on broker start?

Thanks a lot for taking a look!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions