qbit/consul-client/src/main/java/io/advantageous/consul/endpoints/AgentEndpoint.java
public void registerService(final int port, final long ttl,
                                final String serviceName, final String serviceId,
                                final String... tags) {
        registerService(null, port, ttl, serviceName, serviceId, tags);
    }
public void registerService(final int port, final long ttl,
                                final String serviceName, final String serviceId,
                                final String... tags) {
        registerService(null, port, ttl, serviceName, serviceId, tags);
    }
Registers the client as a service with Consul.  Registration enables
the use of checks.

@param port        The public facing port of the service to register with Consul.
@param ttl         Time to live for the Consul dead man's switch.
@param serviceName Service name to register.
@param serviceId   Service id to register.
@param tags        Tags to register with.