kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jun...@apache.org
Subject svn commit: r1476887 - /kafka/site/08/configuration.html
Date Mon, 29 Apr 2013 04:16:53 GMT
Author: junrao
Date: Mon Apr 29 04:16:53 2013
New Revision: 1476887

URL: http://svn.apache.org/r1476887
Log:
minor changes to 0.8 docs

Modified:
    kafka/site/08/configuration.html

Modified: kafka/site/08/configuration.html
URL: http://svn.apache.org/viewvc/kafka/site/08/configuration.html?rev=1476887&r1=1476886&r2=1476887&view=diff
==============================================================================
--- kafka/site/08/configuration.html (original)
+++ kafka/site/08/configuration.html Mon Apr 29 04:16:53 2013
@@ -24,7 +24,7 @@
     </tr>
     <tr>
       <td>log.dirs</td>
-      <td>"/tmp/kafka-logs"</td>
+      <td>/tmp/kafka-logs</td>
       <td>The directories in which the log data is kept</td>
     </tr>
     <tr>
@@ -158,7 +158,7 @@
     </tr>
     <tr>
       <td>log.flush.interval.ms</td>
-      <td>${<span>log.flush.scheduler.interval.ms}</span>
+      <td>3000</span>
      </td>
       <td>The maximum time in ms that a message in any topic is kept in memory before
flushed to disk</td>
     </tr>
@@ -246,7 +246,7 @@
     </tr>
     <tr>
       <td>zookeeper.connection.timeout.ms</td>
-      <td>${zookeeper.session.timeout.ms}</td>
+      <td>6000</td>
       <td>The max time that the client waits to establish a connection to zookeeper</td>
     </tr>
     <tr>
@@ -335,7 +335,7 @@
     </tr>
     <tr>
       <td>rebalance.backoff.ms</td>
-      <td>${zookeeper.sync.time.ms}</td>
+      <td>2000</td>
       <td>Backoff time between retries during rebalance</td>
     </tr>
     <tr>
@@ -345,7 +345,7 @@
     </tr>
     <tr>
       <td>auto.offset.reset</td>
-      <td colspan="1">"smallest"</td>
+      <td colspan="1">smallest</td>
       <td>
         <p>What to do 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>
      </td>
@@ -367,7 +367,7 @@
     </tr>
     <tr>
       <td>zookeeper.connection.timeout.ms</td>
-      <td colspan="1">${<span>zookeeper.session.timeout.ms}</span>
+      <td colspan="1">6000</span>
      </td>
       <td>The max time that the client waits to establish a connection to zookeeper</td>
     </tr>
@@ -411,31 +411,31 @@
     </tr>
     <tr>
       <td>producer.type</td>
-      <td colspan="1">"sync"</td>
+      <td colspan="1">sync</td>
       <td>
         <p>This parameter specifies whether the messages are sent asynchronously or
not. Valid values are (1) async for asynchronous send and (2) sync for synchronous send.</p>
      </td>
     <tr>
       <td>serializer.class</td>
-      <td colspan="1">"kafka.serializer.DefaultEncoder"</td>
-      <td>The serializer class for values</td>
+      <td colspan="1">DefaultEncoder</td>
+      <td>The serializer class for messages. The default encoder takes a byte[] and
returns the same byte[].</td>
     </tr>
     <tr>
       <td>key.serializer.class</td>
       <td colspan="1">${serializer.class}</td>
-      <td>The serializer class for keys (defaults to the same as for values)</td>
+      <td>The serializer class for keys (defaults to the same as for messages)</td>
     </tr>
     <tr>
       <td>partitioner.class</td>
-      <td colspan="1">"kafka.producer.DefaultPartitioner"</td>
-      <td>The partitioner class for partitioning events amongst sub-topics</td>
+      <td colspan="1">DefaultPartitioner</td>
+      <td>The partitioner class for partitioning messages amongst sub-topics. The default
partitioner is based on the hash of the key.</td>
     </tr>
     </tr>
     <tr>
       <td>compression.codec</td>
-      <td colspan="1">"none"</td>
+      <td colspan="1">none</td>
       <td>
-        <p>This parameter allows you to specify the compression codec for all data
generated by this producer. The default is NoCompressionCodec</p>
+        <p>This parameter allows you to specify the compression codec for all data
generated by this producer. Valid values are none, gzip and snappy.</p>
      </td>
     </tr>
     <tr>
@@ -461,7 +461,7 @@
     </tr>
     <tr>
       <td>topic.metadata.refresh.interval.ms</td>
-      <td colspan="1">600* 1000</td>
+      <td colspan="1">600 * 1000</td>
       <td>
         <p>The producer generally refreshes the topic metadata from brokers when there
is a failure (partition missing, leader not available...). It will also poll regularly (default:
every 10min so 600000ms). If you set this to a negative value, metadata will only get refreshed
on failure. If you set this to zero, the metadata will get refreshed after each message sent
(not recommended). Important note: the refresh happen only AFTER the message is sent, so if
the producer never sends a message the metadata is never refreshed</p>
      </td>



Mime
View raw message