[
https://issues.apache.org/jira/browse/KAFKA-3325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15177745#comment-15177745
]
ASF GitHub Bot commented on KAFKA-3325:
---------------------------------------
GitHub user CunningBaldrick opened a pull request:
https://github.com/apache/kafka/pull/1002
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.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/CunningBaldrick/kafka quickstart
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/1002.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1002
----
commit 532f5007ec1b99fe9547f4ced880ec8a9441fd7d
Author: Duncan Sands <[email protected]>
Date: 2016-03-03T12:09:11Z
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.
----
> Out of date instructions in quickstart guide
> --------------------------------------------
>
> Key: KAFKA-3325
> URL: https://issues.apache.org/jira/browse/KAFKA-3325
> Project: Kafka
> Issue Type: Bug
> Reporter: Duncan Sands
> Priority: Trivial
>
> In http://kafka.apache.org/documentation.html#quickstart there is the
> following:
> Now edit these new files and set the following properties:
> config/server-1.properties:
> broker.id=1
> port=9093
> log.dir=/tmp/kafka-logs-1
> config/server-2.properties:
> broker.id=2
> port=9094
> log.dir=/tmp/kafka-logs-2
> However the latest version of these config files has the following line which
> also needs to be adjusted otherwise you get an exception at broker startup
> (address in use):
> listeners=PLAINTEXT://:9092
> So I suggest changing the instructions to:
> Now edit these new files and set the following properties:
> config/server-1.properties:
> broker.id=1
> listeners=PLAINTEXT://:9093
> port=9093
> log.dir=/tmp/kafka-logs-1
> config/server-2.properties:
> broker.id=2
> listeners=PLAINTEXT://:9094
> port=9094
> log.dir=/tmp/kafka-logs-2
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)