public static ResourceType fromCode(byte code) {
        ResourceType resourceType = CODE_TO_VALUE.get(code);
        if (resourceType == null) {
            return UNKNOWN;
        }
        return resourceType;
    }
Return the ResourceType with the provided code or `ResourceType.UNKNOWN` if one cannot be found.
clients/src/main/java/org/apache/kafka/common/resource/ResourceType.java