Essentially, There's a configuration property: log.retention.hours
This determines the minimum time a message will remain available on the broker. The default is 7 days. The kafka broker doesn't keep track of whether the message has been consumed or not (or how many times it has been consumed). It's up to individual consumers to keep track of which message offset they've consumed (which typically gets saved in zookeeper). Jason On Mon, Apr 1, 2013 at 12:50 PM, Philip O'Toole <phi...@loggly.com> wrote: > On Mon, Apr 1, 2013 at 12:27 PM, Ankit Jain <ankitjainc...@gmail.com> > wrote: > > > Hi All, > > > > Once the message is consumed by consumer, we want it to delete from > message > > broker as well. > > > > Kafka doesn't work this way. Read the design doc -- it's well written, and > should be read by anyone working with Kafka. > > http://kafka.apache.org/design.html > > > > > > > I was exploring the kafka configuration, but not sure which configuration > > would full my need. > > > > Guys, I need your help. > > > > Thanks .. > > > > > > -- > > Thanks, > > Ankit Jain > > >