-
Notifications
You must be signed in to change notification settings - Fork 13
Description
When building a Quarkus app e.g. with an active hu.icellmobilsoft.coffee.module.etcd.producer.CachedEtcdConfigSource, it's trying to retrieve configuration from a running ETCD instance during build time, which is not ideal. The build should not be dependent on such external resource.
An active flag is needed with an extension of CachedEtcdConfigSource, just like in hu.icellmobilsoft.coffee.module.etcd.producer.RuntimeEtcdConfigSource, to be able to alter the default behaviour, e.g.: activate the config source via this flag in a startup event. This will prevent the build time configuration retrieval from ETCD.
hu.icellmobilsoft.coffee.module.etcd.producer.FilteredEtcdConfigSource could also have this extension, if it will be used in a similar environment.