private void heartbeatPolaris(InstanceRegisterRequest service) {
        try {
            InstanceHeartbeatRequest instanceHeartbeatRequest = new InstanceHeartbeatRequest();
            instanceHeartbeatRequest.setNamespace(service.getNamespace());
            instanceHeartbeatRequest.setService(service.getService());
            instanceHeartbeatRequest.setHost(service.getHost());
            instanceHeartbeatRequest.setPort(service.getPort());
            providerAPI.heartbeat(instanceHeartbeatRequest);
        } catch (Exception e) {
            LOGGER.error(LogCodes.getLog(LogCodes.ERROR_CHECK_PASS, "Polaris"), e);
        }
    }
the main logic of polaris registry, similar to consul

@author <a href=mailto:bner666@gmail.com>ZhangLibin</a>
registry/registry-polaris/src/main/java/com/alipay/sofa/rpc/registry/polaris/PolarisRegistry.java