[ https://issues.apache.org/jira/browse/KAFKA-5925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16255693#comment-16255693 ]
ASF GitHub Bot commented on KAFKA-5925: --------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/kafka/pull/4132 > Adding records deletion operation to the new Admin Client API > ------------------------------------------------------------- > > Key: KAFKA-5925 > URL: https://issues.apache.org/jira/browse/KAFKA-5925 > Project: Kafka > Issue Type: Improvement > Components: admin > Reporter: Paolo Patierno > Assignee: Paolo Patierno > Priority: Minor > Fix For: 1.1.0 > > > Hi, > The > [KIP-107|https://cwiki.apache.org/confluence/display/KAFKA/KIP-107%3A+Add+purgeDataBefore%28%29+API+in+AdminClient] > provides a way to delete messages starting from a specified offset inside a > topic partition which we don’t want to take anymore so without relying on > time-based and size-based log retention policies. The already implemented > protocol request and response messages (DeleteRecords API, key 21) are used > only by the “legacy” Admin Client in Scala and aren’t provided by the new > Admin Client API in Java. > The > [KIP-204|https://cwiki.apache.org/confluence/display/KAFKA/KIP-204+%3A+adding+records+deletion+operation+to+the+new+Admin+Client+API] > is about addressing this JIRA. -- This message was sent by Atlassian JIRA (v6.4.14#64029)