@Override
    public boolean equals(Object o) {
        if (o instanceof MemberToRemove) {
            MemberToRemove otherMember = (MemberToRemove) o;
            return this.groupInstanceId.equals(otherMember.groupInstanceId);
        } else {
            return false;
        }
    }
A struct containing information about the member to be removed.
clients/src/main/java/org/apache/kafka/clients/admin/MemberToRemove.java