public DataNodeInfo getDataNodeInfo(String nodeName, String nodeType) {
        DataNodeEntity entity = dataNodeMapper.selectByUniqueKey(nodeName, nodeType);
        if (entity == null) {
            throw new BusinessException(ErrorCodeEnum.RECORD_NOT_FOUND,
                    String.format("data node not found by name=%s, type=%s", nodeName, nodeType));
        }
        DataNodeOperator dataNodeOperator = operatorFactory.getInstance(nodeType);
        DataNodeInfo dataNodeInfo = dataNodeOperator.getFromEntity(entity);
        log.debug("success to get data node info by name={}, type={}", nodeName, nodeType);
        return dataNodeInfo;
    }
Get data node info by name and type
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/node/DataNodeOperateHelper.java