[
https://issues.apache.org/jira/browse/KAFKA-3325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15177683#comment-15177683
]
Ismael Juma commented on KAFKA-3325:
------------------------------------
Thanks Duncan, would you like to submit a pull request to update the docs? I
suggest we remove port from the example as it's redundant if we set listeners.
> 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)