-
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
Provide consistent naming for configuration #712
Comments
Thoughts? Anything that was missed? |
@tomkerkhove There is only one question: if this new naming convention will be adopted, it has to be retrocompatible? Because for example if we are going to rename address in connection and similr, people already using that scalers if they will update will result in their environment screwed up. Or maybe start with a deprecation of old parameters (printing a warning in the logs) for a while before removing the old stuff? Or just document all the changes, and users has to read the changelog before updating (since it is a major version upgrade it could be kinda fine?) |
We'll break it since it will only be added to 2.0 - We are not sure yet which scalers it impacts and if there will be a new minor version; but when we ship this migration guidance will be provided. Deprecation notices without clear path on what to use instead is not ideal; certainly when the new parts are not there yet. |
Hi @tomkerkhove I believe establish the standard before v2 GA sounds awesome. The reason is :
I have other things for the standard. It is also just an idea.
|
We are actually doing the exercise in this issue with a Google doc open: #753 (comment) Feel free to go through it and add comments!
That's true, but what about those who are interested? No point in having one scaller be called
Not sure how this relates, do you mean local KEDA dev? |
my 2 cents: I think that we should keep the convention/naming that is usual for each individual scaler, (eg. Kafka is using Those scalers, where aren't that strict conventions we should do some unification (eg. host, host name, etc) if it is needed. As it is discussed on #753 (comment), I think that we should allow users to use direct parametr or reference for the properties where it does make sense, eg. |
It might not need to consider this discussion. :( sorry about that. I mean Yes. For example, Let's imagine we debug locally with RabbitMQ deployed on a k8s cluster. We need to deploy Job or Deployment on the cluster. The pod should refer the endpoint of the RabbitMQ, it should be the value that is solved inside of the k8s cluster. So I used to send pull request to |
@tomkerkhove can we close this one? |
Certainly! |
Provide consistent naming for configuration across scalers.
As per #694 we've agreed that configuration should be aligned and use the same name & patterns for configuration.
Things that came up:
connectionString
for, well, connection strings :)connection
for{host}:{port}
connections to servers et allconnection
is used when available, otherwise it composes it based onhost
&port
host
and notport
or other way around), and exception should be thrownThe text was updated successfully, but these errors were encountered: