-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ActiveMQ Artemis: Parameters provided in restApiTemplate are again needed to be set in metadata. #2097
Comments
I think you are right, IMHO if a parameter is provided in @balchua @spoplavskiy @bonky42 WDYT? |
I agree its either the restApiTemplate or the broker config. |
I agree, make sense to not set both |
@zroubalik @tomkerkhove @spoplavskiy @balchua there is already a function to provide restAPITemplate from the parameters, the only thing we need is to make the four params optional and a parser to get these parameters from the template URL |
@Ritikaa96 that would be nice! |
Thanks @Ritikaa96 |
Hi @zroubalik , @tomkerkhove , @balchua I've added the functionality to parse out the parameters from Now there are two options.
what do you suggest? |
Report
While testing ActiveMQ Artemis Scaler, it was found that even if I provide
restAPITemplate
, I still would need to provide the parameters : brokerName, brokerAddress, managementEndpoint,queueName.The restAPITemplate can be generated by these parameters as it's as follows:
On further investigation I stumble upon this function to generate the restAPITemplate here
which again is confusing by the name.
Are we doing this knowingly?
Expected Behavior
or
Actual Behavior
All Parameters: brokerName, brokerAddress, managementEndpoint,queueName, are needed even if
restAPITemplate
is given.Steps to Reproduce the Problem
Logs from KEDA operator
No response
KEDA Version
2.4.0
Kubernetes Version
1.22
Platform
Any
Scaler Details
ActiveMQ Artemis
Anything else?
No response
The text was updated successfully, but these errors were encountered: