Class ConsulServiceDiscoveryProviderConfiguration


  • public class ConsulServiceDiscoveryProviderConfiguration
    extends Object
    Configuration for the ConsulServiceDiscoveryProvider ServiceDiscovery.
    • Constructor Detail

      • ConsulServiceDiscoveryProviderConfiguration

        public ConsulServiceDiscoveryProviderConfiguration​(Map<String,​String> params)
    • Method Detail

      • getConsulHost

        public String getConsulHost()
        The Consul host. By default: localhost
      • getConsulPort

        public String getConsulPort()
        The Consul port. By default: 8500
      • getUseHealthChecks

        public String getUseHealthChecks()
        Whether to use health check. By default: true
      • getApplication

        public String getApplication()
        The application name; if not defined Stork service name will be used.
      • getRefreshPeriod

        public String getRefreshPeriod()
        Service discovery cache refresh period. By default: 5M