How to see Unacknowledged messages from RabbitMQ with KEDA? #4785
Unanswered
JensVoorpyl
asked this question in
Q&A / Need Help
Replies: 1 comment
-
Yeah, currently path routing isn't supported because KEDA treats it as vhost. This PR adds support for path routing: #4584 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have created a ScaledObject that scales Celery worker pods based on how many requests are present in a RabbitMQ queue. This is in an Azure Kubernetes Service cluster.
I used the the following url and noticed that the Unacknowledged messages are not included in the criteria that decide to scale up the Celery pods. It does work for the Ready messages, but these disappear rather quickly, leaving a bad indication if the pods should scale up.
In this KEDA tutorial it says:
And in this Github thread it is made clear as well that only the HTTP protocol contains the information about Unacknowledged messages for RabbitMQ:
So, I have done this by changing the url to:
When I do this, I get the following error on my ScaledObject:
What I think that the problem with this is, is that when I integrated RabbitMQ, I changed the base-path of the Management url to
/management
. This way I can access the Management dashboard via:FQDN/management/#/
instead of via:FQDN/#/
. When I try to add/management
to the back of the url though, it is seen as a vhost and pasted behind the/api/queues/
part like this:Is another way to retrieve the data of the Unacknowledged messages? Or is there a way to get
/management/
inside of the url at the correct spot?Keda version: 2.9.0,
Kubernetes version: 1.24.10
Beta Was this translation helpful? Give feedback.
All reactions