Map<String, Map<String, String>> loadTypeConflictResolution() {
        String source = "built-in type conflict resolution";
        InputStream resolutionStream = getClass().getClassLoader().getResourceAsStream("type_conflict_resolution.yml");

        if (config.getTypeConflictResolutionFile() != null) {
            try {
                resolutionStream = Files.newInputStream(Paths.get(config.getTypeConflictResolutionFile()));
                source = config.getTypeConflictResolutionFile();
            } catch (IOException e) {
                logger.warn("Could not load custom type conflict resolution file: {}. Using built-in defaults.", e.getMessage());
            }
        }

        logger.info("Loading type conflict resolution from {}", source);
        try (InputStream is = resolutionStream) {
            Yaml yaml = new Yaml();
            return yaml.load(is);
        } catch (IOException e) {
            logger.error("Error loading type conflict resolution: {}", e.getMessage());
            return new HashMap<>();
        }
    }
Resolves a type conflict between two Vespa field types.
Uses the type conflict resolution rules defined in the type_conflict_resolution.yml file.
If no resolution is found, returns null.

@param type1 First Vespa field type
@param type2 Second Vespa field type
@return The resolved type, or null if no resolution is found
integration/logstash-plugins/logstash-output-vespa/src/main/java/org/logstashplugins/VespaAppPackageWriter.java