Skip to content

Azure Storage Queue Scaler: should report both visible and invisible message count to compute queue length. #4002

Closed
@moria97

Description

Report

From Azure Storage Queue document, queue messages should be set to invisible state when pulled from queue for processing, deleted when processing completes and be visible again when processing fails. So when computing queue length for scaling, it's better to consider both visible and invisible messages like in the get-queue-length documentation instead of counting those visible only.

Expected Behavior

Use correct queue length to count both visible and invisible messages.

Actual Behavior

Count only visible messages.

Steps to Reproduce the Problem

None

Logs from KEDA operator

example

KEDA Version

None

Kubernetes Version

None

Platform

None

Scaler Details

Azure Storage Queue

Anything else?

No response

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions