kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gwens...@apache.org
Subject kafka git commit: KAFKA-3325: Out of date instructions in quickstart guide
Date Thu, 03 Mar 2016 19:47:36 GMT
Repository: kafka
Updated Branches:
  refs/heads/trunk 291f430d9 -> ae1fd0858


KAFKA-3325: Out of date instructions in quickstart guide

Adjust the listeners property rather than the port.  Following the original instructions would
result in all of the brokers being started with the same listeners setting, and so fail to
work.

Author: Duncan Sands <baldrick@free.fr>

Reviewers: Ismael Juma, Gwen Shapira

Closes #1002 from CunningBaldrick/quickstart


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/ae1fd085
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/ae1fd085
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/ae1fd085

Branch: refs/heads/trunk
Commit: ae1fd085873c5119609df5120c02763c5ae48142
Parents: 291f430
Author: Duncan Sands <baldrick@free.fr>
Authored: Thu Mar 3 11:47:33 2016 -0800
Committer: Gwen Shapira <cshapi@gmail.com>
Committed: Thu Mar 3 11:47:33 2016 -0800

----------------------------------------------------------------------
 docs/quickstart.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/ae1fd085/docs/quickstart.html
----------------------------------------------------------------------
diff --git a/docs/quickstart.html b/docs/quickstart.html
index c8933c3..1238316 100644
--- a/docs/quickstart.html
+++ b/docs/quickstart.html
@@ -104,12 +104,12 @@ Now edit these new files and set the following properties:
 
 config/server-1.properties:
     broker.id=1
-    port=9093
+    listeners=PLAINTEXT://:9093
     log.dir=/tmp/kafka-logs-1
 
 config/server-2.properties:
     broker.id=2
-    port=9094
+    listeners=PLAINTEXT://:9094
     log.dir=/tmp/kafka-logs-2
 </pre>
 The <code>broker.id</code> property is the unique and permanent name of each
node in the cluster. We have to override the port and log directory only because we are running
these all on the same machine and we want to keep the brokers from all trying to register
on the same port or overwrite each others data.


Mime
View raw message