That’s really not what Kafka was designed to do. You can set a short log retention period, which will mean messages are deleted relatively soon after they were written to Kafka, but there’s no mechanism for deleting records on consumption.
Ian. --- Ian Wrigley Director, Education Services Confluent, Inc > On Jul 2, 2016, at 11:08 AM, Navneet Kumar <navneetkumar.in...@gmail.com> > wrote: > > Hi All > My Use case is I want to delete the records instantly after consuming > them. I am using Kafka 0.90 > > > > Thanks and Regards, > Navneet Kumar