Skip to content

RabbitMQ Scaler Not detecting queues on 2nd page #7143

@dkbhadeshiya

Description

@dkbhadeshiya

Report

Hi there,

We are using RabbitMQ scaler with HTTP endpoints where we are giving regex for listening to multiple queues.
We have 7000+ queues out of which I have to target 2000+ queues with single regex (this may increase over time)

However, RabbitMQ's API has limitation to have max 500 as page size, thus I am not able to set more than 500 in the page size.

Due to which queues on 2nd, 3rd... Nth pages are not detected and listened to.

Expected Behavior

Scaler should implement RMQ's pagination so that it listens to queues on Nth pages.

Actual Behavior

Scaler is not paginating and monitoring queues from page after 1st page.

Steps to Reproduce the Problem

  1. Have more than 1 queue
  2. Create Scaled job with http in host, useRegex: true, pageSize: 1 & queueName: *
  3. Observe that not more than 1 queue is monitored (because page size is 1)

Logs from KEDA operator

example

KEDA Version

2.16.1

Kubernetes Version

1.30

Platform

Amazon Web Services

Scaler Details

RabbitMQ

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    To Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions