qbit/service-discovery/src/main/java/io/advantageous/qbit/service/discovery/dns/DnsSupport.java
private EndpointDefinition convertSrvRecordToEndpointDefinition(final SrvRecord srvRecord) {
        return new EndpointDefinition(findServiceName(srvRecord.service()), srvRecord.target(),
                srvRecord.port());
    }
private EndpointDefinition convertSrvRecordToEndpointDefinition(final SrvRecord srvRecord) {
        return new EndpointDefinition(findServiceName(srvRecord.service()), srvRecord.target(),
                srvRecord.port());
    }
Convert a single srvRecord into an EndpointDefinition.

@param srvRecord srvRecord
@return EndpointDefinition from srvRecord