Class RegistryConfigSource

  • All Implemented Interfaces:
    org.eclipse.microprofile.config.spi.ConfigSource

    public class RegistryConfigSource
    extends Object
    implements org.eclipse.microprofile.config.spi.ConfigSource
    ConfigSource that turns env vars into plain properties. e.g. REGISTRY_STREAMS_TOPOLOGY_SECURITY_PROTOCOL=SSL --> %dev.registry.streams.topology.security.protocol=SSL

    docker run -it -p 8080:8080 -e REGISTRY_PROPERTIES_PREFIX=REGISTRY_ -e REGISTRY_STREAMS_TOPOLOGY_SECURITY_PROTOCOL=SSL apicurio/apicurio-registry-streams

    Author:
    Ales Justin
    • Constructor Detail

      • RegistryConfigSource

        public RegistryConfigSource()
    • Method Detail

      • getProperties

        public Map<String,​String> getProperties()
        Specified by:
        getProperties in interface org.eclipse.microprofile.config.spi.ConfigSource
      • getValue

        public String getValue​(String key)
        Specified by:
        getValue in interface org.eclipse.microprofile.config.spi.ConfigSource
      • getName

        public String getName()
        Specified by:
        getName in interface org.eclipse.microprofile.config.spi.ConfigSource