Class ConsulConfig

java.lang.Object
org.kiwiproject.registry.consul.config.ConsulConfig
Direct Known Subclasses:
ConsulRegistrationConfig

public class ConsulConfig extends Object
Base configuration class for Consul registry usage
  • Constructor Details

    • ConsulConfig

      public ConsulConfig()
  • Method Details

    • getMetadataTags

      public List<String> getMetadataTags()
      List of keys from the ServiceInstance metadata that should become tags, otherwise they will be in metadata
    • isIncludeNativeData

      public boolean isIncludeNativeData()
      If true, enables the addition of Consul specific data to ServiceInstance.
    • setMetadataTags

      public void setMetadataTags(List<String> metadataTags)
      List of keys from the ServiceInstance metadata that should become tags, otherwise they will be in metadata
    • setIncludeNativeData

      public void setIncludeNativeData(boolean includeNativeData)
      If true, enables the addition of Consul specific data to ServiceInstance.