public void write(
        ConfigResource configResource,
        ImageWriter writer,
        ImageWriterOptions options
    ) {
        for (Map.Entry<String, String> entry : data.entrySet()) {
            writer.write(0, new ConfigRecord().
                setResourceType(configResource.type().id()).
                setResourceName(configResource.name()).
                setName(entry.getKey()).
                setValue(entry.getValue()));
        }
    }
Represents the configuration of a resource.

This class is thread-safe.
metadata/src/main/java/org/apache/kafka/image/ConfigurationImage.java