@Override
    public MetadataNode child(String name) {
        if (name.equals(LocalShellNode.NAME)) {
            return new LocalShellNode();
        } else if (name.equals(MetadataImageNode.NAME)) {
            return new MetadataImageNode(image);
        } else {
            return null;
        }
    }
The root node of the Kafka metadata shell.
shell/src/main/java/org/apache/kafka/shell/node/RootShellNode.java