You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Matthias J. Sax (Jira)" <ji...@apache.org> on 2020/05/19 02:04:00 UTC

[jira] [Commented] (KAFKA-10016) Support For Purge Topic

    [ https://issues.apache.org/jira/browse/KAFKA-10016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17110772#comment-17110772 ] 

Matthias J. Sax commented on KAFKA-10016:
-----------------------------------------

Isn't this already supported via [https://cwiki.apache.org/confluence/display/KAFKA/KIP-107%3A+Add+deleteRecordsBefore%28%29+API+in+AdminClient]?

> Support For Purge Topic
> -----------------------
>
>                 Key: KAFKA-10016
>                 URL: https://issues.apache.org/jira/browse/KAFKA-10016
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: David Mollitor
>            Priority: Major
>
> Some discussions about how to purge a topic.  Please add native support  for this operation.  Is there a "starting offset" for each topic?  Such a vehicle would allow for this value to be easily set with the current offeset and the brokers will skip (and clean) everything before that.
>  
> [https://stackoverflow.com/questions/16284399/purge-kafka-topic]
>  
> {code:none}
> kafka-topics --topic mytopic --purge
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)