kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jun Rao <jun...@gmail.com>
Subject Re: Set expiration time for specific topics
Date Mon, 03 Oct 2011 21:50:11 GMT
Yes, you just need to set topic.log.retention.hours, which overrides


On Mon, Oct 3, 2011 at 2:06 PM, Nalin DeZoysa <ndezoysa@tagged.com> wrote:

> Hi,
> I was wondering whether it is possible to set the expiration time (for
> deletion) for a specific topic? For example I want to create a test topic
> that expires after a short duration, using a test client. I see that I can
> put this configuration in the properties file when kafka starts. However I
> want to create a simple producer that creates a test topic with a short
> expiration. Is this possible?
> Thanks,
> Nalin

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message