@Override
    public List<InstanceEntity> selectInstances(final String selectKey) {
        List<InstanceEntity> result = new ArrayList<>();
        final GetHealthyInstancesRequest req = new GetHealthyInstancesRequest();
        req.setService(selectKey);
        req.setNamespace(namespace);
        try {
            final InstancesResponse response = consumerAPI.getHealthyInstances(req);
            Arrays.stream(response.getInstances()).sequential().forEach(instance -> result.add(convertFromInstance(instance)));
        } catch (Exception e) {
            LOGGER.error("getInstanceRegisterDTOS error", e);
        }
        return result;
    }
selectInstances.
@param selectKey selectKey
@return {@link List}
shenyu-registry/shenyu-registry-polaris/src/main/java/org/apache/shenyu/registry/polaris/PolarisInstanceRegisterRepository.java