-
We have a situation where we have a kotlin quarkus application with a build-property that configures which data fetching implementation (bean) to use. We have an internal database for mocking data and an external api for "real" data. Right now we are creating the pipelines to create deployable images for this service and hitting the runtime-config issue head on. Ideally we want:
What does the quarkus philosophy suggest here? Using the The possible solutions I see using quarkus are:
What is the quarkus way of doing it? How can we achieve this in a way which aligned with the quarkus philosophy? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
/cc @evanchooly (kotlin), @geoand (kotlin) |
Beta Was this translation helpful? Give feedback.
-
Is the buildtime property a config property in your own extension or how ? |
Beta Was this translation helpful? Give feedback.
-
This statement is just not correct. |
Beta Was this translation helpful? Give feedback.
This statement is just not correct.
@LookupIfProperty
is practical choice that is useful for some cases, not useful for most.