Add queueLengthStrategy option to azure-storage-queue scaler.#1406
Add queueLengthStrategy option to azure-storage-queue scaler.#1406zroubalik merged 1 commit intokedacore:mainfrom leodip:4478-add-queueLengthStrategy
Conversation
|
Thank you for your contribution! 🙏 We will review your PR as soon as possible.
Learn more about:
|
✅ Deploy Preview for keda ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
|
|
||
| - `queueName` - Name of the queue. | ||
| - `queueLength` - Target value for queue length passed to the scaler. Example: if one pod can handle 10 messages, set the queue length target to 10. If the actual number of messages in the queue is 30, the scaler scales to 3 pods. (Default: `5`, Optional) | ||
| - `queueLengthStrategy` - `default` considers both visible and invisible messages, while `visibleonly` uses Peek to count only visible messages. In `visibleonly`, if the count of messages is 32 or higher, it falls back to the default strategy, counting both visible and invisible messages. |
There was a problem hiding this comment.
Default is not really clarifying what it includes. Instead I would propose to call it all
There was a problem hiding this comment.
Also, please align with the "(Default: 5, Optional)" convention as per https://github.com/kedacore/keda-docs#writing-documentation-for-a-scaler
There was a problem hiding this comment.
Thanks for the feedback. Hope this version is better?
|
Can you fix the DCO issues please? You can learn more in our contribution guide. |
Signed-off-by: Leonardo D'Ippolito <contact@leodip.com>
|
DCO fixed. |
tomkerkhove
left a comment
There was a problem hiding this comment.
LGTM, waiting for feature to merge first
…re#1406) Signed-off-by: Leonardo D'Ippolito <contact@leodip.com> Signed-off-by: shubhusion <shubham27.sharma03@gmail.com>
This adds documentation about the new
queueLengthStrategyconfiguration option for the Azure Storage Queue scaler.Related to kedacore/keda#4478