static ConfigDefinitionKey createConfigDefinitionKeyFromDefContent(String name, byte[] content) {
        String namespace = ConfigUtils.getDefNamespace(new StringReader(Utf8.toString(content)));
        return new ConfigDefinitionKey(name, namespace);
    }
Creates a ConfigDefinitionKey from a name and the content of a config definition

@param name    the name of the config definition
@param content content of a config definition
@return a ConfigDefinitionKey
config/src/main/java/com/yahoo/vespa/config/util/ConfigUtils.java