public static Map<String, String> getValidAttrs(Map<String, String> attrsMap) {
        if (attrsMap == null || attrsMap.isEmpty()) {
            return attrsMap;
        }
        String tmpKey;
        String tmpValue;
        Map<String, String> validAttrsMap = new HashMap<>();
        for (Map.Entry<String, String> entry : attrsMap.entrySet()) {
            if (entry == null
                    || StringUtils.isBlank(entry.getKey())
                    || entry.getValue() == null) {
                continue;
            }
            tmpKey = entry.getKey().trim();
            tmpValue = entry.getValue().trim();
            if (tmpKey.contains(AttributeConstants.SEPARATOR)
                    || tmpKey.contains(AttributeConstants.KEY_VALUE_SEPARATOR)
                    || ProxyUtils.SdkReservedWords.contains(tmpKey)
                    || tmpValue.contains(AttributeConstants.SEPARATOR)
                    || tmpValue.contains(AttributeConstants.KEY_VALUE_SEPARATOR)) {
                continue;
            }
            validAttrsMap.put(tmpKey, tmpValue);
        }
        return validAttrsMap;
    }
get valid attrs, remove invalid attrs
@param attrsMap the input attrs
@return valid attrs
inlong-sdk/dataproxy-sdk/src/main/java/org/apache/inlong/sdk/dataproxy/utils/ProxyUtils.java