-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Change in behavior after SmallRye Config update to 3.5.1 #38052
Comments
/cc @Ladicek (smallrye), @jmartisk (smallrye), @phillip-kruger (smallrye), @radcortez (smallrye) |
I don't think it's a behavior we want. It looks like a bug. |
I'll have a look. |
I believe this is working as expected now. Notice that the property that must be used is The old implementation simply ignored such declarations, so |
@radcortez I'm OK with the explanation. I miss few things
|
I've marked the issue as noteworthy now :)
I'm unsure about |
Ah, it is a I'll add a note about it then. |
Describe the bug
We have noticed change in behavior after SmallRye Config update to 3.5.1 in #37794.
We have testing application which is using
quarkus.stork.pong-replica.load-balancer=round-robin
property which was valid ~Quarkus 2.7, later it was replaced byquarkus.stork.pong.load-balancer.type
.Till now the app worked fine because roun-robin is the default load-balancer type, there was just warning about unrecognized property.
After SmallRye Config update to 3.5.1 there is error when booting the app.
On one side it's good that users are forced to update the config, but on the other hand I miss any information in https://github.com/quarkusio/quarkus/wiki/Migration-Guide-3.7 about the changes around config.
Also raising this issue as @radcortez's comment #37794 (comment) indicated he would like to know about the side-effects of this SmallRye Config change.
Stacktrace:
Expected behavior
Application starts just with warning about unrecognized property
Actual behavior
After SmallRye Config update to 3.5.1 there is error when booting the app.
I think it's connected with
@WithParentName
usage in https://github.com/quarkusio/quarkus/blob/main/extensions/smallrye-stork/runtime/src/main/java/io/quarkus/stork/StorkLoadBalancerConfiguration.java#L25How to Reproduce?
Output of
uname -a
orver
macOS
Output of
java -version
Java 17
Quarkus version or git rev
5fcc268
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: