@Override
    public List<GroupFullInfo> getGroupByBackUpClusterTag(String clusterTag) {
        List<GroupFullInfo> groupInfoList = new ArrayList<>();
        List<String> groupIdList = groupExtMapper.selectGroupIdByKeyNameAndValue(BACKUP_CLUSTER_TAG, clusterTag);
        if (CollectionUtils.isEmpty(groupIdList)) {
            return groupInfoList;
        }
        List<InlongGroupEntity> groupEntities = groupMapper.selectByInlongGroupIds(groupIdList);
        if (CollectionUtils.isEmpty(groupEntities)) {
            throw new BusinessException(ErrorCodeEnum.GROUP_NOT_FOUND);
        }
        for (InlongGroupEntity groupEntity : groupEntities) {
            // query mq information
            InlongGroupOperator instance = groupOperatorFactory.getInstance(groupEntity.getMqType());
            InlongGroupInfo groupInfo = instance.getFromEntity(groupEntity);
            InlongGroupExtEntity backUpMqResource =
                    groupExtMapper.selectByUniqueKey(groupEntity.getInlongGroupId(), BACKUP_MQ_RESOURCE);
            if (backUpMqResource != null) {
                groupInfo.setMqResource(backUpMqResource.getKeyValue());
            }
            List<InlongStreamInfo> streamInfoList = streamService.listBackUp(groupEntity.getInlongGroupId());
            GroupFullInfo groupFullInfo = new GroupFullInfo();
            groupFullInfo.setGroupInfo(groupInfo);
            groupFullInfo.setStreamInfoList(streamInfoList);
            groupInfoList.add(groupFullInfo);
        }
        return groupInfoList;
    }
Add constraints to the start and end time of the offline synchronization group.
1. startTime must >= current time
2. endTime must >= startTime
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/group/InlongGroupServiceImpl.java