-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Report
The 'queueName' Value in https://keda.sh/docs/2.11/scalers/solace-pub-sub/ isn't URL decoded in https://github.com/kedacore/keda/blob/main/pkg/scalers/solace_scaler.go#L248
This leads to problems when a queue name contains a slash (e.g. messages/large) because it leads to an invalid path when calling the SEMP Rest API resulting in a "400 Bad Request" response.
A workaround for now is to manually URL-encode the queueName value
Expected Behavior
The queueName should be correctly URL-encoded
Actual Behavior
Queue names containing a slash lead to "400 Bad Request" responses from the SEMP endpoint
Steps to Reproduce the Problem
- create a queue containing a slash in the name (e.g. 'messages/large')
- create a solace-event-queue trigger for this queue
- observe that the trigger fails to execute with a "400 Bad Request" message
Logs from KEDA operator
No response
KEDA Version
None
Kubernetes Version
None
Platform
Red Hat OpenShift
Scaler Details
No response
Anything else?
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status