Skip to content

Runtime activation of ETCD Config Sources #717

@mate-biro

Description

@mate-biro

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions