Yes, you just need to set topic.log.retention.hours, which overrides log.retention.hours.
Jun On Mon, Oct 3, 2011 at 2:06 PM, Nalin DeZoysa <ndezo...@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 >