You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ne...@apache.org on 2013/12/02 15:15:53 UTC

svn commit: r1547028 - /kafka/site/08/configuration.html

Author: nehanarkhede
Date: Mon Dec  2 14:15:52 2013
New Revision: 1547028

URL: http://svn.apache.org/r1547028
Log:
Add caveat about potential data loss with auto.offset.reset=largest during partition addition

Modified:
    kafka/site/08/configuration.html

Modified: kafka/site/08/configuration.html
URL: http://svn.apache.org/viewvc/kafka/site/08/configuration.html?rev=1547028&r1=1547027&r2=1547028&view=diff
==============================================================================
--- kafka/site/08/configuration.html (original)
+++ kafka/site/08/configuration.html Mon Dec  2 14:15:52 2013
@@ -364,7 +364,7 @@ The essential consumer configurations ar
       <td>auto.offset.reset</td>
       <td colspan="1">largest</td>
       <td>
-        <p>What to do when there is no initial offset in Zookeeper or if an offset is out of range:<br/>* smallest : automatically reset the offset to the smallest offset<br/>* largest : automatically reset the offset to the largest offset<br/>* anything else: throw exception to the consumer</p>
+        <p>What to do when there is no initial offset in Zookeeper or if an offset is out of range:<br/>* smallest : automatically reset the offset to the smallest offset<br/>* largest : automatically reset the offset to the largest offset<br/>* anything else: throw exception to the consumer. If this is set to largest, the consumer may lose some messages when the number of partitions, for the topics it subscribes to, changes on the broker. To prevent data loss during partition addition, set auto.offset.reset to smallest</p>
      </td>
     </tr>
     <tr>