Re: Log Retention in Kafka

2014-05-05 Thread Jun Rao
See http://kafka.apache.org/documentation.html#basic_ops_modify_topic Thanks, Jun On Sun, May 4, 2014 at 10:11 PM, Kashyap Mhaisekar kashya...@gmail.comwrote: Is there a way to do this at runtime using some available scripts in kafka/bin? If so, any pointers on which script? Regards,

Re: Log Retention in Kafka

2014-05-05 Thread Kashyap Mhaisekar
Thanks Jun. I am using kafka_2.8.0-0.8.0-beta1.jar. I dont see this script kafka-topic.sh in the bin folder. Is there way to do this in the version mentioned? --Kashyap On Mon, May 5, 2014 at 11:18 AM, Jun Rao jun...@gmail.com wrote: See

Re: Log Retention in Kafka

2014-05-04 Thread Kashyap Mhaisekar
Is there a way to do this at runtime using some available scripts in kafka/bin? If so, any pointers on which script? Regards, Kashyap On Tue, Apr 22, 2014 at 11:11 PM, Kashyap Mhaisekar kashya...@gmail.comwrote: Thanks Joel. Am using version 2.8.0. Thanks, Kashyap On Tue, Apr 22, 2014

Log Retention in Kafka

2014-04-22 Thread Kashyap Mhaisekar
Hi, I wanted to set the message expiry for a message on a kafka topic. Is there anything like this in kafka? I came across a property - *log.retention.hours* and *topic.log.retention.hours* Had some queries around it.And it was mentioned that topic.log.retention.hours is per topic configuration.

Re: Log Retention in Kafka

2014-04-22 Thread Joel Koshy
Which version of Kafka are you using? You can read up on the configuration options here: http://kafka.apache.org/documentation.html#configuration You can specify time-based retention using log.retention.minutes which will apply to all topics. You can override that on per-topic basis - see

Re: Log Retention in Kafka

2014-04-22 Thread Kashyap Mhaisekar
Thanks Joel. Am using version 2.8.0. Thanks, Kashyap On Tue, Apr 22, 2014 at 5:53 PM, Joel Koshy jjkosh...@gmail.com wrote: Which version of Kafka are you using? You can read up on the configuration options here: http://kafka.apache.org/documentation.html#configuration You can specify