kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lawrence Weikum <lwei...@pandora.com>
Subject Topic retention configuration clarification
Date Mon, 02 May 2016 15:42:38 GMT
Using 0.9.0.1.

I'm building a new topic that should keep data for much longer than the brokers'  default,
say at least a year, before deleting messages.  http://kafka.apache.org/documentation.html
says setting the "retention.ms" for the topic will adjust the time, but I cannot find out
what unit of time Kafka uses for this.  "ms" would suggest "milliseconds", so a year would
be about 3.154e+13 milliseconds.  This seems like an uncomforatably-high number to give.

Can anyone else confirm this time unit for "retention.ms" for the topic config is in milliseconds?
 Is there also a "retention.minutes" that's just undocumented?

Thanks!


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