@Override
    public boolean equals(Object obj) {
        if ((null == obj) || (obj.getClass() != this.getClass()))
            return false;
        Uuid id = (Uuid) obj;
        return this.mostSignificantBits == id.mostSignificantBits &&
                this.leastSignificantBits == id.leastSignificantBits;
    }
Returns true iff obj is another Uuid represented by the same two long values.
clients/src/main/java/org/apache/kafka/common/Uuid.java