@Override
    public MetadataNode child(String name) {
        String value = image.data().get(name);
        if (value == null) return null;
        return new MetadataNode() {
            @Override
            public boolean isDirectory() {
                return false;
            }

            @Override
            public void print(MetadataNodePrinter printer) {
                if (printer.redactionCriteria().
                        shouldRedactConfig(image.resource().type(), name)) {
                    printer.output("[redacted]");
                } else {
                    printer.output(value);
                }
            }
        };
    }
The configuration image for a specific resource.
metadata/src/main/java/org/apache/kafka/image/node/ConfigurationImageNode.java