-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
KEDA Scaling Jobs using Azure Service Bus scaler - queuelength configuration parameter #652
Comments
I get your understanding but I think there is a bigger issue which I'm addressing in #653. You will need to increase the maximum count to a high number as we keep that in check. |
@tomkerkhove, I already have set maxReplicaCount to 100. Below is my script that I use to deploy. What I have noticed when I queue more than 400 messages in the queue KEDA creates only 5 (since default queue lenght is 5) consumer instances. I would expect it to scale to 100 instances equal to maxReplicaCount. Have I configured something incorrectly? data: apiVersion: keda.k8s.io/v1alpha1
apiVersion: keda.k8s.io/v1alpha1
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed due to inactivity. |
I have a similar issue, not sure though. I am using a scaledJob. When there are 5 ( or x number of )messages in the queue in service bus, it scales up 5 (or x number of ) jobs ( inturn pods ). But when a new message arrives in the queue, the scaledJob doesn't create one more to process it. I read a lot and felt like I should set "accurate" strategy. But that also didn't work. My messages are just waiting in the queue. Can someone help? |
I have a queue which holds incoming messages from an application (producer). I have a consumer application in an container which is deployed to AKS. I have configured KEDA scaledobject jobtype with Azure Service bus as the trigger to scale the consumer instances. As the messages are queued KEDA creates consumer instances which read a single message from the queue and start processing.
However what I have noticed is that the number of consumer instances created by KEDA is always equal to the queuelength parameter set for the Azure Service Bus trigger. I want KEDA to scale the consumer instances equal to the number of messages in the queue and not to the queuelength parameter configuration of Azure Service Bus trigger. This is so that all the messages can be processed in parallel for performance.
Is this known behavior? How can I change the behavior so that KEDA scales based on number of messages and not the queuelenghth configuration parameter?
The text was updated successfully, but these errors were encountered: