public Integer save(DataNodeRequest request) {
        Preconditions.expectNotNull(request, "request cannot be null");
        Preconditions.expectNotBlank(request.getName(), ErrorCodeEnum.INVALID_PARAMETER,
                "data node name cannot be empty");
        Preconditions.expectNotBlank(request.getType(), ErrorCodeEnum.INVALID_PARAMETER,
                "data node type cannot be empty");
        Response<Integer> response = ClientUtils.executeHttpCall(dataNodeApi.save(request));
        ClientUtils.assertRespSuccess(response);
        return response.getData();
    }
Save data node.

@param request data node info
@return cluster id after saving
inlong-manager/manager-client/src/main/java/org/apache/inlong/manager/client/api/inner/client/DataNodeClient.java