@SafeVarargs
    public static <T> Set<T> mkSet(T... elems) {
        Set<T> result = new HashSet<>((int) (elems.length / 0.75) + 1);
        for (T elem : elems)
            result.add(elem);
        return result;
    }
Creates a set
@param elems the elements
@param <T> the type of element
@return Set
clients/src/main/java/org/apache/kafka/common/utils/Utils.java