class EtcdMetadataReport extends AbstractMetadataReport {

    @Override
    protected void doSaveMetadata(ServiceMetadataIdentifier serviceMetadataIdentifier, URL url) {
        String key = getNodeKey(serviceMetadataIdentifier);
        if (!etcdClient.put(key, URL.encode(url.toFullString()))) {
            logger.error("Failed to put " + serviceMetadataIdentifier + " to etcd, value: " + url);
        }
    }

    public  EtcdMetadataReport(URL url);

}