Use consul to get config values. You can define the server details of the consul server using MicroProfile Config. Values are cached to reduce calls to consul. This config source does not support config events (yet).
<dependency>
<groupId>org.microprofile-ext.config-ext</groupId>
<artifactId>configsource-consul</artifactId>
<version>XXXXXX</version>
<scope>runtime</scope>
</dependency>
configsource.consul.host (defaults to localhost)
configsource.consul.prefix (default no prefix)
configsource.consul.validity (default 30s)
You can disable the config source by setting this config:
ConsulConfigSource.enabled=false