From the course: Learning Quarkus

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Configuration properties in Quarkus

Configuration properties in Quarkus

From the course: Learning Quarkus

Start my 1-month free trial

Configuration properties in Quarkus

- [Instructor] As with every framework, the ability to add external configuration is critical for the framework to not only be taken seriously, but to be used in a cloud native, as well as containerized workloads. ConfigProperty is the core concept of this within Quarkus. It's an annotation to load a property from the environment. It can be applied to classes, as well as individual elements within a class, in order to accomplish grouping. And there's support for things like profiles and Quarkus out of the box supports three profiles, dev, test, and prod, and we've already seen the dev profile in the way that we ran Quarkus as dev. And you can also create dynamic properties via property extensions using the framework. Quarkus property system also allows for real time overrides. These can be modified at startup time, overriden via the command line for instance, you can load them from the environment, or there is also…

Contents