@SuppressWarnings("unchecked")
    private void readerOption(Map<?, ?> converterConf, String key, Map<String, String> typeMapping) {
        if (converterConf.containsKey(key)) {
            List<Map<String, String>> typeMappings = (List<Map<String, String>>) converterConf.get(key);
            for (Map<String, String> mapping : typeMappings) {
                String sourceType = mapping.get(MAPPING_SOURCE_TYPE_KEY);
                String targetType = mapping.get(MAPPING_TARGET_TYPE_KEY);
                if (StringUtils.isBlank(sourceType) || StringUtils.isBlank(targetType)) {
                    throw new IllegalArgumentException(
                            String.format("Reader source type: %s, target type: %s are not valid.",
                                    sourceType, targetType));
                }
                typeMapping.put(sourceType, targetType);
            }
        } else {
            log.warn("Converter field type mapping conf can't find key: {} in converter file type {}.", key,
                    streamType);
        }
    }
reader option from converter file

@param converterConf converterConf
@param key key in converter file
@param typeMapping type mapping map
inlong-manager/manager-common/src/main/java/org/apache/inlong/manager/common/fieldtype/FieldTypeMappingReader.java