Re: Log Retention: What gets deleted

2016-04-10 Thread Gwen Shapira
; > > > Gwen, > > > > > > > > Thanks for the detailed reply. > > > > > > > > That makes it more clear for me. > > > > > > > > Heath > > > > > > > > -Original Message- > > > &

Re: Log Retention: What gets deleted

2016-04-08 Thread Anandha L Ranganathan
gt; That makes it more clear for me. > > > > > > Heath > > > > > > -Original Message- > > > From: Gwen Shapira [mailto:g...@confluent.io] > > > Sent: Tuesday, April 05, 2016 6:13 PM > > > To: users@kafka.apache.org > > > Subject: R

Re: Log Retention: What gets deleted

2016-04-08 Thread Gwen Shapira
es it more clear for me. > > > > Heath > > > > -Original Message- > > From: Gwen Shapira [mailto:g...@confluent.io] > > Sent: Tuesday, April 05, 2016 6:13 PM > > To: users@kafka.apache.org > > Subject: Re: Log Retention: What gets deleted > >

Re: Log Retention: What gets deleted

2016-04-08 Thread Anandha L Ranganathan
> Sent: Tuesday, April 05, 2016 6:13 PM > To: users@kafka.apache.org > Subject: Re: Log Retention: What gets deleted > > I think you got it almost right. The missing part is that we only delete > whole partition segments, not individual messages. > > As you are writing messages,

RE: Log Retention: What gets deleted

2016-04-08 Thread Heath Ivie
Gwen, Thanks for the detailed reply. That makes it more clear for me. Heath -Original Message- From: Gwen Shapira [mailto:g...@confluent.io] Sent: Tuesday, April 05, 2016 6:13 PM To: users@kafka.apache.org Subject: Re: Log Retention: What gets deleted I think you got it almost right

Re: Log Retention: What gets deleted

2016-04-05 Thread Gwen Shapira
I think you got it almost right. The missing part is that we only delete whole partition segments, not individual messages. As you are writing messages, every X bytes or Y milliseconds, a new file gets created for the partition to store new messages in. Those files are called segments. The segment

Log Retention: What gets deleted

2016-04-01 Thread Heath Ivie
Hi, I have some questions about the log retention and specifically what gets deleted. I have a test app where I am writing 10 logs to the topic every second. What I would expect is a lag in a group would be somewhere around 10 if I have retention.ms at 1000. What I am seeing that the lag cont