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
- [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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
Welcome to Quarkus5m 31s
-
(Locked)
Introducing the docs4m 40s
-
(Locked)
Starting a project6m 44s
-
(Locked)
Dependency Injection in Quarkus6m 48s
-
(Locked)
Command mode Quarkus5m 13s
-
(Locked)
Configuration properties in Quarkus5m
-
(Locked)
Logging in Quarkus4m 39s
-
(Locked)
Challenge: Fizz Buzz1m 36s
-
(Locked)
Solution: Fizz Buzz4m 6s
-
-
-
-