private void addAuditId(Map<String, Object> properties, String type, IndicatorType indicatorType) {
        try {
            String auditId = auditService.getAuditId(type, indicatorType);
            List<AuditProxy> auditProxyList = auditService.getAuditProxy(AuditComponent.SORT.getComponent());
            properties.putIfAbsent("metrics.audit.key", auditId);
            properties.putIfAbsent("metrics.audit.proxy.hosts",
                    Joiner.on(InlongConstants.AMPERSAND).join(auditProxyList));
            List<AuditInformation> cdcAuditInfoList = auditService.getCdcAuditInfoList(type, indicatorType);
            FlowType flowType = indicatorType.getCode() % 2 == 0 ? FlowType.INPUT : FlowType.OUTPUT;
            List<String> cdcAuditIdList =
                    cdcAuditInfoList.stream().map(v -> {
                        for (CdcType cdcType : CdcType.values()) {
                            if (Objects.equals(CdcIdEnum.getCdcId(type, flowType, cdcType), v.getAuditId())) {
                                return cdcType.name() + InlongConstants.EQUAL + v.getAuditId();
                            }
                        }
                        throw new BusinessException("current audit id can not find cdc audit information");
                    }).collect(Collectors.toList());
            if (CollectionUtils.isNotEmpty(cdcAuditIdList)) {
                properties.putIfAbsent(CDC_AUDIT_KEY, Joiner.on(InlongConstants.AMPERSAND).join(cdcAuditIdList));
            }
        } catch (Exception e) {
            LOGGER.error("Current type ={} is not set auditId", type);
        }

    }
Add config into inlong stream ext info
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/resource/sort/SortFlinkConfigOperator.java