mirror of https://github.com/apache/kafka.git
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:
parent
2d877631cd
commit
28e29a4c61
|
@ -113,12 +113,12 @@ Now edit these new files and set the following properties:
|
|||
config/server-1.properties:
|
||||
broker.id=1
|
||||
listeners=PLAINTEXT://:9093
|
||||
log.dir=/tmp/kafka-logs-1
|
||||
log.dirs=/tmp/kafka-logs-1
|
||||
|
||||
config/server-2.properties:
|
||||
broker.id=2
|
||||
listeners=PLAINTEXT://:9094
|
||||
log.dir=/tmp/kafka-logs-2
|
||||
log.dirs=/tmp/kafka-logs-2
|
||||
</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>
|
||||
|
|
Loading…
Reference in New Issue