You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by CASAUX Nicolas <ni...@soprasteria.com> on 2022/03/25 15:32:02 UTC
Question regarding resource limit
Hello,
I'm currently configuring resource limits as specified here: https://activemq.apache.org/components/artemis/documentation/latest/resource-limits.html
I see that there is no possibility to use wildcard for the "match" attribute.
My question is: how could I set up those limits for all my users, or maybe set up default limits values ? As my users will be defined in an external system, it does really make sense to add all the usernames in the broker.xml configuration file.
Thanks in advance !
Nicolas
C2 - Usage restreint
Re: Question regarding resource limit
Posted by Justin Bertram <jb...@apache.org>.
> I can open a Jira if you think this feature could be useful.
Feel free to open a Jira.
Is this something you would consider implementing? We always welcome
contributions, and as a user it's the best way to ensure the features you
want are implemented.
Justin
On Fri, Mar 25, 2022 at 10:56 AM CASAUX Nicolas <
nicolas.casaux@soprasteria.com> wrote:
> Thank you Justin.
>
> > For what it's worth, your roles are also defined in the external system,
> but you still have to reference them in broker.xml (in <security-settings>).
> You are absolutely correct, however the roles (in my usecase) do not
> evolve that much, on the contrary to users, so that is not a problem to
> reference them in the broker.xml.
>
> I can open a Jira if you think this feature could be useful.
>
> Nicolas
>
>
> C2 - Usage restreint
>
> -----Message d'origine-----
> De : Justin Bertram <jb...@apache.org>
> Envoyé : vendredi 25 mars 2022 16:51
> À : users@activemq.apache.org
> Objet : Re: Question regarding resource limit
>
> > ...how could I set up those limits for all my users, or maybe set up
> default limits values?
>
> Given that there's no way to use wildcard matches (as you noted) there's
> no way to apply limits to a group of users (including the group of all
> users).
> The functionality could be enhanced to support this in the future, though.
>
> > As my users will be defined in an external system, it does really make
> sense to add all the usernames in the broker.xml configuration file.
>
> For what it's worth, your roles are also defined in the external system,
> but you still have to reference them in broker.xml (in <security-settings>).
>
>
> Justin
>
> On Fri, Mar 25, 2022 at 10:32 AM CASAUX Nicolas <
> nicolas.casaux@soprasteria.com> wrote:
>
> > Hello,
> >
> > I'm currently configuring resource limits as specified here:
> > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Facti
> > vemq.apache.org%2Fcomponents%2Fartemis%2Fdocumentation%2Flatest%2Freso
> > urce-limits.html&data=04%7C01%7Cnicolas.casaux%40soprasteria.com%7
> > C03d63d9cac754ca4d69808da0e77545e%7C8b87af7d86474dc78df45f69a2011bb5%7
> > C0%7C0%7C637838202919551396%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMD
> > AiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=R1NF
> > LPWvj1wjfqd3H9TCmk9I4I5NZXLlgM6sAYFqh5k%3D&reserved=0
> >
> > I see that there is no possibility to use wildcard for the "match"
> > attribute.
> > My question is: how could I set up those limits for all my users, or
> > maybe set up default limits values ? As my users will be defined in an
> > external system, it does really make sense to add all the usernames in
> > the broker.xml configuration file.
> >
> > Thanks in advance !
> > Nicolas
> >
> >
> > C2 - Usage restreint
> >
>
>
RE: Question regarding resource limit
Posted by CASAUX Nicolas <ni...@soprasteria.com>.
Thank you Justin.
> For what it's worth, your roles are also defined in the external system, but you still have to reference them in broker.xml (in <security-settings>).
You are absolutely correct, however the roles (in my usecase) do not evolve that much, on the contrary to users, so that is not a problem to reference them in the broker.xml.
I can open a Jira if you think this feature could be useful.
Nicolas
C2 - Usage restreint
-----Message d'origine-----
De : Justin Bertram <jb...@apache.org>
Envoyé : vendredi 25 mars 2022 16:51
À : users@activemq.apache.org
Objet : Re: Question regarding resource limit
> ...how could I set up those limits for all my users, or maybe set up
default limits values?
Given that there's no way to use wildcard matches (as you noted) there's no way to apply limits to a group of users (including the group of all users).
The functionality could be enhanced to support this in the future, though.
> As my users will be defined in an external system, it does really make
sense to add all the usernames in the broker.xml configuration file.
For what it's worth, your roles are also defined in the external system, but you still have to reference them in broker.xml (in <security-settings>).
Justin
On Fri, Mar 25, 2022 at 10:32 AM CASAUX Nicolas < nicolas.casaux@soprasteria.com> wrote:
> Hello,
>
> I'm currently configuring resource limits as specified here:
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Facti
> vemq.apache.org%2Fcomponents%2Fartemis%2Fdocumentation%2Flatest%2Freso
> urce-limits.html&data=04%7C01%7Cnicolas.casaux%40soprasteria.com%7
> C03d63d9cac754ca4d69808da0e77545e%7C8b87af7d86474dc78df45f69a2011bb5%7
> C0%7C0%7C637838202919551396%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMD
> AiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=R1NF
> LPWvj1wjfqd3H9TCmk9I4I5NZXLlgM6sAYFqh5k%3D&reserved=0
>
> I see that there is no possibility to use wildcard for the "match"
> attribute.
> My question is: how could I set up those limits for all my users, or
> maybe set up default limits values ? As my users will be defined in an
> external system, it does really make sense to add all the usernames in
> the broker.xml configuration file.
>
> Thanks in advance !
> Nicolas
>
>
> C2 - Usage restreint
>
Re: Question regarding resource limit
Posted by Justin Bertram <jb...@apache.org>.
> ...how could I set up those limits for all my users, or maybe set up
default limits values?
Given that there's no way to use wildcard matches (as you noted) there's no
way to apply limits to a group of users (including the group of all users).
The functionality could be enhanced to support this in the future, though.
> As my users will be defined in an external system, it does really make
sense to add all the usernames in the broker.xml configuration file.
For what it's worth, your roles are also defined in the external system,
but you still have to reference them in broker.xml (in <security-settings>).
Justin
On Fri, Mar 25, 2022 at 10:32 AM CASAUX Nicolas <
nicolas.casaux@soprasteria.com> wrote:
> Hello,
>
> I'm currently configuring resource limits as specified here:
> https://activemq.apache.org/components/artemis/documentation/latest/resource-limits.html
>
> I see that there is no possibility to use wildcard for the "match"
> attribute.
> My question is: how could I set up those limits for all my users, or maybe
> set up default limits values ? As my users will be defined in an external
> system, it does really make sense to add all the usernames in the
> broker.xml configuration file.
>
> Thanks in advance !
> Nicolas
>
>
> C2 - Usage restreint
>