Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can Rabbitmq scalar be used with regexes ? #743

Closed
sbhardwaj-mt opened this issue Apr 14, 2020 · 5 comments · Fixed by #1957
Closed

Can Rabbitmq scalar be used with regexes ? #743

sbhardwaj-mt opened this issue Apr 14, 2020 · 5 comments · Fixed by #1957
Labels
scaler-rabbit-mq support All issues related to questions and supporting customers

Comments

@sbhardwaj-mt
Copy link

Currently the example shown in the documentation is :

triggers:
- type: rabbitmq
  metadata:
    host: RabbitMqHost
    queueLength: '20' # Optional. Queue length target for HPA. Default: 20 messages
    queueName: testqueue

while we want to group some of the queues with the parameter to trigger these deployment.
for eg:

triggers:
- type: rabbitmq
  metadata:
    host: RabbitMqHost
    queueLength: '20' # Optional. Queue length target for HPA. Default: 20 messages
    queueName: platform.*rabbitmq

Is this possible ?

@sbhardwaj-mt sbhardwaj-mt added the support All issues related to questions and supporting customers label Apr 14, 2020
@tomkerkhove
Copy link
Member

I'm not sure but I don't think so, can you confirm @ahmelsayed?

@zroubalik
Copy link
Member

This is not possible. Possible workaround would be to define multiple triggers and cover all queues by specifying them explicitly. But to have it working correctly, something like this #733 must be implemented first.

@alegmal
Copy link

alegmal commented Feb 28, 2021

Hi,

Is there an update by chance on if this is going to be possible (using regex for queues)?

@tomkerkhove
Copy link
Member

I don't think we've made any progress on this.

@JorTurFer
Copy link
Member

JorTurFer commented Jun 25, 2021

Hi @tomkerkhove ,
Is there any update? :)
Do you think that is useful feature? We need this feature in our use case and we are open to implement it if you agree it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scaler-rabbit-mq support All issues related to questions and supporting customers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants