Skip to content

Conversation

@lhoguin
Copy link
Contributor

@lhoguin lhoguin commented Dec 5, 2025

It can be used to list queues by owner.

Let's see if that's good enough before documenting the API/adding to the builtin rabbitmqadmin (should it be added there?).

@lhoguin lhoguin requested a review from ansd December 5, 2025 15:21
@ansd
Copy link
Member

ansd commented Dec 5, 2025

Awaiting user feedback

Copy link
Member

@ansd ansd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

User confirmed that this PR fulfils their requirement.

@lhoguin lhoguin marked this pull request as ready for review December 15, 2025 09:02
@lhoguin
Copy link
Contributor Author

lhoguin commented Dec 15, 2025

Should we document it?

@ansd
Copy link
Member

ansd commented Dec 15, 2025

Yes, let's include the new endpoint in HTTP API reference: https://rawcdn.githack.com/rabbitmq/rabbitmq-server/v4.2.1/deps/rabbitmq_management/priv/www/api/index.html

@ansd ansd added this to the 4.3.0 milestone Dec 15, 2025
@ansd
Copy link
Member

ansd commented Dec 15, 2025

adding to the builtin rabbitmqadmin (should it be added there?)

I don't think that's necessary for now.

It can be used to list queues by owner.
@lhoguin lhoguin force-pushed the loic-mgmt-user-queues branch from e2d74a5 to f9bc22e Compare December 15, 2025 12:07
@michaelklishin
Copy link
Collaborator

rabbitmqadmin v1 is no longer maintained. We should not add anything to it.

You can submit a PR for rabbitmqadmin v2 but let's ship this PR first :)

@michaelklishin michaelklishin merged commit 90de6ac into main Dec 15, 2025
575 of 576 checks passed
@michaelklishin michaelklishin deleted the loic-mgmt-user-queues branch December 15, 2025 14:30
@michaelklishin
Copy link
Collaborator

We can expose it as queues list_declared_by --username or something like that in rabbitmqadmin v2.

I would avoid the word "owned" because that term is pretty much only describes exclusive queue ownership in our docs, and this endpoint filters the queues by their declaring user.

michaelklishin added a commit that referenced this pull request Dec 15, 2025
michaelklishin added a commit to rabbitmq/rabbitmq-website that referenced this pull request Dec 15, 2025
michaelklishin added a commit to rabbitmq/rabbitmq-website that referenced this pull request Dec 15, 2025
Add the endpoint introduced in rabbitmq/rabbitmq-server#15074 to the HTTP API reference guide
@michaelklishin
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants