Java / Quarkus Interview questions
What is application.properties used for in Quarkus?
application.properties, located under src/main/resources, is the default place Quarkus applications store configuration — datasource URLs, HTTP port, logging levels, and extension-specific settings — using simple key-value pairs rather than XML or annotations.
quarkus.http.port=8080 quarkus.datasource.db-kind=postgresql quarkus.datasource.username=app quarkus.log.level=INFO
Quarkus also supports an equivalent YAML format (application.yaml) for teams that prefer it, and configuration can additionally come from environment variables, system properties, or external sources, with a well-defined precedence order so that, for example, an environment variable can override a value baked into application.properties at deploy time without editing the file itself.
Because configuration keys are validated and type-checked by extensions at build time wherever possible, a typo in a known property name or an invalid value for its expected type is often caught during the build rather than surfacing only as a confusing runtime failure.
More Related questions...