public Properties configProperties(ConfigResource configResource) {
        ConfigurationImage configurationImage = data.get(configResource);
        if (configurationImage != null) {
            return configurationImage.toProperties();
        } else {
            return new Properties();
        }
    }
Represents the configurations in the metadata image.

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