MINOR: Updated Quickstart to mention log.dirs (#5361)

The default server.properties file now contains the log.dirs setting and not log.dir anymore.

Co-authored-by: Mickael Maison <mickael.maison@gmail.com>
Co-authored-by: Katherine Farmer <kfarme3@uk.ibm.com>
Reviewers: Manikumar Reddy O <manikumar.reddy@gmail.com>, Sriharsha Chintalapani <sriharsha@apache.org>
This commit is contained in:
Mickael Maison 2018-07-18 07:24:08 +02:00 committed by Harsha
parent 2d877631cd
commit 28e29a4c61
1 changed files with 2 additions and 2 deletions

View File

@ -113,12 +113,12 @@ Now edit these new files and set the following properties:
config/server-1.properties: config/server-1.properties:
broker.id=1 broker.id=1
listeners=PLAINTEXT://:9093 listeners=PLAINTEXT://:9093
log.dir=/tmp/kafka-logs-1 log.dirs=/tmp/kafka-logs-1
config/server-2.properties: config/server-2.properties:
broker.id=2 broker.id=2
listeners=PLAINTEXT://:9094 listeners=PLAINTEXT://:9094
log.dir=/tmp/kafka-logs-2 log.dirs=/tmp/kafka-logs-2
</pre> </pre>
<p>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 other's data.</p> <p>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 other's data.</p>
<p> <p>