Package org.apache.kafka.clients.admin
Class RecordsToDelete
java.lang.Object
org.apache.kafka.clients.admin.RecordsToDelete
@Evolving public class RecordsToDelete extends Object
Describe records to delete in a call to
Admin.deleteRecords(Map)
The API of this class is evolving, see Admin for details.-
Method Summary
Modifier and Type Method Description longbeforeOffset()The offset before which all records will be deletedstatic RecordsToDeletebeforeOffset(long offset)Delete all the records before the givenoffsetbooleanequals(Object o)inthashCode()StringtoString()
-
Method Details
-
beforeOffset
Delete all the records before the givenoffset- Parameters:
offset- the offset before which all records will be deleted
-
beforeOffset
public long beforeOffset()The offset before which all records will be deleted -
equals
-
hashCode
public int hashCode() -
toString
-