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.

Ismael
On 3 Mar 2016 11:09, "Duncan Sands (JIRA)" <j...@apache.org> wrote:

> Duncan Sands created KAFKA-3325:
> -----------------------------------
>
>              Summary: 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)
>

Reply via email to