Class ConsulRegistryService

java.lang.Object
org.kiwiproject.registry.consul.server.ConsulRegistryService
All Implemented Interfaces:
RegistryService

public class ConsulRegistryService extends Object implements RegistryService
RegistryService implementation for Consul discovery servers

NOTE: This class is intended to manage the registration and unregistration of a service with Consul. If your service is using a framework that has Consul integration, you might not want to use this class as it may attempt to register more than once (once from here and once from the framework integration)

  • Constructor Details

    • ConsulRegistryService

      public ConsulRegistryService(org.kiwiproject.consul.Consul consul, ConsulRegistrationConfig config, org.kiwiproject.base.KiwiEnvironment environment)
  • Method Details