You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where undeclared_queue is a queue that has not been declared yet. Then connections will not be closed by keda causing rabbitmq to slowly run out of connections. Restarting the Keda operator frees up the connections.
Since rabbitmq allows for queues to be declared by consumers or producers or defines server side, an option such as declareQueue that declares a queue if it doesn't exist yet might be useful.
Expected Behavior
Connections should be closed when no longer in use, regardless of error states.
Actual Behavior
Connections are not closed in this case.
Steps to Reproduce the Problem
Define a trigger as described above, perhaps with a short polling interval
Do not declare the queue
The connections tab of the rabbitmq management interface will fill up with connections from the keda operators ip, all of which will have 0 channels open.
Specifications
**KEDA Version: 1.4.1
**Platform & Version: Google cloud Platform
**Kubernetes Version: v1.14.10-gke.36
**Scaler(s): RabbitMQ
The text was updated successfully, but these errors were encountered:
So far the queues are automatically created when i start the consumer
I think it would depend on the implementation of your consumer, which likely declares the queue. If the consumer listens on 'queue1' and this trigger is configured for 'queue1' you won''t have an issue, but if you are listening on a queue that hasn't been declared (say you had a typo in the queue name) I believe this issue arises.
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.
stalebot
added
the
stale
All issues that are marked as stale due to inactivity
label
Oct 13, 2021
If one configures a trigger such as
Where
undeclared_queue
is a queue that has not been declared yet. Then connections will not be closed by keda causing rabbitmq to slowly run out of connections. Restarting the Keda operator frees up the connections.Since rabbitmq allows for queues to be declared by consumers or producers or defines server side, an option such as
declareQueue
that declares a queue if it doesn't exist yet might be useful.Expected Behavior
Connections should be closed when no longer in use, regardless of error states.
Actual Behavior
Connections are not closed in this case.
Steps to Reproduce the Problem
Specifications
The text was updated successfully, but these errors were encountered: