[ https://issues.apache.org/jira/browse/KAFKA-10016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17111501#comment-17111501 ]
Matthias J. Sax commented on KAFKA-10016: ----------------------------------------- Ah sorry. Linked the wrong KIP. The first one was about "internal changes" on the protocol level, and the second one is about the public API changes in AdminClient itself. The AdminClient API docs are rather sparse: [https://kafka.apache.org/documentation/#adminapi] They only refer to the JavaDocs. Feel free to use this ticket to improve the docs. Not sure what else would be missing to resolve this ticket? There is also a command line tool `bin/kafka-delete-records.sh`. > 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)