@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        RecordsToDelete that = (RecordsToDelete) o;

        return this.offset == that.offset;
    }
The offset before which all records will be deleted
clients/src/main/java/org/apache/kafka/clients/admin/RecordsToDelete.java