Re: dynamic configure per topic problem

2014-03-25 Thread 陈小军
Thanks. I got it. Best RegardsJerry-Original Message-From: "Neha Narkhede" To: "users@kafka.apache.org"; Cc: "陈小军"; Sent: 2014-03-26 (星期三) 02:08:46Subject: Re: dynamic configure per topic problem Filed https://issues.apache.org/jira/browse/KAFKA-1325 to track

Re: dynamic configure per topic problem

2014-03-25 Thread Neha Narkhede
Filed https://issues.apache.org/jira/browse/KAFKA-1325 to track this. On Tue, Mar 25, 2014 at 9:31 AM, Neha Narkhede wrote: > What's the unit of 'retention.ms', second, minute or this is a bug? > > Our documentation is a little confusing on the log configs. See this- > > [image: Inline image 1]

Re: dynamic configure per topic problem

2014-03-25 Thread Neha Narkhede
What's the unit of 'retention.ms', second, minute or this is a bug? Our documentation is a little confusing on the log configs. See this- [image: Inline image 1] The log property is in ms but the server default it maps to is in minutes. Same is true for segment.ms as well. We could either improv

Re: dynamic configure per topic problem

2014-03-25 Thread Jun Rao
The unit is milli-sec. The deletion only happens when the log segment is rolled though. Thanks, Jun On Tue, Mar 25, 2014 at 12:59 AM, 陈小军 wrote: > Hi, >Today I test the dynamic configure for each topic, I set the ' > retention.ms' attribution for one topic, > [irt...@xseed170.kdev

dynamic configure per topic problem

2014-03-25 Thread 陈小军
Hi, Today I test the dynamic configure for each topic, I set the 'retention.ms' attribution for one topic, [irt...@xseed170.kdev bin]$ ./kafka-topics.sh --describe --zookeeper 10.96.250.215:10013/nelo2-kafka --topic nelo2-crash-logs Topic:nelo2-crash-logs PartitionCount:6Re