Author: junrao
Date: Thu Aug 21 04:48:19 2014
New Revision: 1619288
URL: http://svn.apache.org/r1619288
Log:
add log.retention.hours
Modified:
kafka/site/081/configuration.html
Modified: kafka/site/081/configuration.html
URL:
http://svn.apache.org/viewvc/kafka/site/081/configuration.html?rev=1619288&r1=1619287&r2=1619288&view=diff
==============================================================================
--- kafka/site/081/configuration.html (original)
+++ kafka/site/081/configuration.html Thu Aug 21 04:48:19 2014
@@ -122,9 +122,9 @@ ZooKeeper also allows you to add a "chro
<td>This can take either the value <i>delete</i> or <i>compact</i>. If
<i>delete</i> is set, log segments will be deleted when they reach the size or
time limits set. If <i>compact</i> is set <a href="#compaction">log
compaction</a> will be used to clean out obsolete records. This setting can be
overridden on a per-topic basis (see <a href="#topic-config">the per-topic
configuration section</a>).</td>
</tr>
<tr>
- <td>log.retention.minutes</td>
+ <td>log.retention.{minutes,hours}</td>
<td>7 days</td>
- <td>The number of minutes to keep a log segment before it is deleted,
i.e. the default data retention window for all topics. Note that if both
log.retention.minutes and log.retention.bytes are both set we delete a segment
when either limit is exceeded. This setting can be overridden on a per-topic
basis (see <a href="#topic-config">the per-topic configuration
section</a>).</td>
+ <td>The amount of time to keep a log segment before it is deleted, i.e.
the default data retention window for all topics. Note that if both
log.retention.minutes and log.retention.bytes are both set we delete a segment
when either limit is exceeded. This setting can be overridden on a per-topic
basis (see <a href="#topic-config">the per-topic configuration
section</a>).</td>
</tr>
<tr>
<td>log.retention.bytes</td>