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
When testing the mongodb code start the warning about deprecated properties are shown. This show automatically even when there are no app properties set up by user. This start in Quarkus 3.5 before that the warn is not show (behavioral added in c4d6bdc).
Not show the warning out of the box if they are not used by user.
Actual behavior
2023-10-30 12:15:50,757 WARN [io.qua.run.con.DeprecatedRuntimePropertiesRecorder] (main) The 'quarkus.mongodb.native.dns.server-port' config property is deprecated and should not be used anymore
2023-10-30 12:15:50,757 WARN [io.qua.run.con.DeprecatedRuntimePropertiesRecorder] (main) The 'quarkus.mongodb.native.dns.lookup-timeout' config property is deprecated and should not be used anymore
2023-10-30 12:15:50,757 WARN [io.qua.run.con.DeprecatedRuntimePropertiesRecorder] (main) The 'quarkus.mongodb.native.dns.log-activity' config property is deprecated and should not be used anymore
2023-10-30 12:15:50,757 WARN [io.qua.run.con.DeprecatedRuntimePropertiesRecorder] (main) The 'quarkus.mongodb.native.dns.use-vertx-dns-resolver' config property is deprecated and should not be used anymore
For native run mvn clean verify -Pnative and warnings are shown.
For jvm mvn package and run by java -jar target/quarkus-app/quarkus-run.jar
See that property is not defined grep -rnw . -e 'quarkus.mongodb.native.dns'
Output of uname -a or ver
Linux fedowa 6.5.6-300.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 x86_64 GNU/Linux
Output of java -version
openjdk version "17.0.7" 2023-04-18 OpenJDK Runtime Environment GraalVM CE 22.3.2 (build 17.0.7+7-jvmci-22.3-b18) OpenJDK 64-Bit Server VM GraalVM CE 22.3.2 (build 17.0.7+7-jvmci-22.3-b18, mixed mode, sharing)
Quarkus version or git rev
3.5
Build tool (ie. output of mvnw --version or gradlew --version)
Apache Maven 3.9.3
Additional information
No response
The text was updated successfully, but these errors were encountered:
I got these warning running in a docker image based on quarkus 3.5 as well. None of these properties are specified in the project.
2023-11-16 17:16:00,947 WARN [io.qua.run.con.DeprecatedRuntimePropertiesRecorder] (main) The 'quarkus.mongodb.native.dns.server-port' config property is deprecated and should not be used anymore
2023-11-16 17:16:00,947 WARN [io.qua.run.con.DeprecatedRuntimePropertiesRecorder] (main) The 'quarkus.mongodb.native.dns.lookup-timeout' config property is deprecated and should not be used anymore
2023-11-16 17:16:00,947 WARN [io.qua.run.con.DeprecatedRuntimePropertiesRecorder] (main) The 'quarkus.mongodb.native.dns.log-activity' config property is deprecated and should not be used anymore
2023-11-16 17:16:00,947 WARN [io.qua.run.con.DeprecatedRuntimePropertiesRecorder] (main) The 'quarkus.mongodb.native.dns.use-vertx-dns-resolver' config property is deprecated and should not be used anymore
Describe the bug
When testing the
mongodb
code start the warning about deprecated properties are shown. This show automatically even when there are no app properties set up by user. This start in Quarkus 3.5 before that the warn is not show (behavioral added in c4d6bdc).It's just not appearing on my environment but also on github runners see https://github.com/quarkus-qe/quarkus-startstop/actions/runs/6686078834/job/18165054526
Expected behavior
Not show the warning out of the box if they are not used by user.
Actual behavior
How to Reproduce?
Generate application https://code.quarkus.io/d?e=mongodb-client&e=resteasy-reactive&S=io.quarkus.platform%3A3.5&cn=code.quarkus.io this use mongodb-client and resteasy-reactive.
For native run
mvn clean verify -Pnative
and warnings are shown.For jvm
mvn package
and run byjava -jar target/quarkus-app/quarkus-run.jar
See that property is not defined
grep -rnw . -e 'quarkus.mongodb.native.dns'
Output of
uname -a
orver
Linux fedowa 6.5.6-300.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 x86_64 GNU/Linux
Output of
java -version
openjdk version "17.0.7" 2023-04-18 OpenJDK Runtime Environment GraalVM CE 22.3.2 (build 17.0.7+7-jvmci-22.3-b18) OpenJDK 64-Bit Server VM GraalVM CE 22.3.2 (build 17.0.7+7-jvmci-22.3-b18, mixed mode, sharing)
Quarkus version or git rev
3.5
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.9.3
Additional information
No response
The text was updated successfully, but these errors were encountered: