-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
3.8.4: quarkus.analytics.disabled ignored + command line answer not processed #41387
Comments
as documented on https://quarkus.io/usage/ it needs to be system property. It is not a quarkus application property as its needed before quarkus is in any way involved. |
Thank you @maxandersen , this has indeed been a missunderstanding on my side, thank you. Setting an env VAR named 'quarkus.analytics.disabled' with value 'true' made the message and delay disappear. But why was the 'n' not recognized in the command line (I am using IntelliJ with default settings?) |
on the command line not honoring are you typing 'n' and press enter before it continues? |
yes, see screenshot, I pressed ENTER (see new line after 'n'): Tried it multiple times, also with "No" like mentioned here: https://quarkus.io/usage/ |
ok, probably question for @brunobat - are you simply opening the main class and run it using intellij via Run or some other mechanism? |
Hello @maxandersen, yes, I am just using the default main method automatically found by IntelliJ IDEA: |
I don't believe that execution method accepts any input. |
Hi @brunobat, I am using gradle, so I can not use any mvn functionality. But the execution method can in fact be configured in IntelliJ: |
@rupert-jung-mw the equivalent command to run Quarkus in dev mode with gradle is: |
@brunobat Thank you. So does this mean that Quarkus usage statistics command line scanning is just not expected to run via the default run configuration in IntelliJ? I worked around my using your suggested start mode with gradle + quarkusDev instead. Also used the environment variable to work around the problem with the usage statistics startup delay. So long it worked. :) |
Yes, @rupert-jung-mw and that question will only happen once per user... No need to answer yes or no all the time. |
Hi @brunobat, problem is, that it seems not possible to answer the question via the command line when just starting the main class because the command line scanning seems not working in the console (see screenshot). |
What console are you using? What operating system and version? |
It's just the built-in console output window of IntelliJ IDEA 2024.1.2 . Windows 11x64 23H2. |
Seems like
quarkus.analytics.disabled
just does nothing.quarkus.analytics.disabled
is set to false (both in application.yaml and application-dev-yaml):Config value itself is correctly set:

... but ignored by Quarkus:

Even trying to answer the question via the console is not working, the input is not scanned:
Originally posted by @rupert-jung-mw in #34626 (comment)
The text was updated successfully, but these errors were encountered: