public void write(ImageWriter writer, ImageWriterOptions options) {
        for (Entry<ConfigResource, ConfigurationImage> entry : data.entrySet()) {
            ConfigResource configResource = entry.getKey();
            ConfigurationImage configImage = entry.getValue();
            configImage.write(configResource, writer, options);
        }
    }
Return the underlying config data for a given resource as an immutable map. This does not apply
configuration overrides or include entity defaults for the resource type.
metadata/src/main/java/org/apache/kafka/image/ConfigurationsImage.java