From fc616cb521c3f7e377b8b0ac65a3a83101156951 Mon Sep 17 00:00:00 2001 From: Kengo Seki Date: Sun, 19 May 2019 11:56:56 +0900 Subject: [PATCH] MINOR: Update command options for kafka-console-consumer.sh in vagrant/README.md (#6689) The following command in vagrant/README.md doesn't work, since `--zookeeper` option has been unsuppored from v2.0.0. This PR updates its command options to fix it. ``` bin/kafka-console-consumer.sh --zookeeper zk1:2181 --topic sandbox --from-beginning ``` Reviewers: Jason Gustafson --- vagrant/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vagrant/README.md b/vagrant/README.md index f482f04df5183..d844829240834 100644 --- a/vagrant/README.md +++ b/vagrant/README.md @@ -56,8 +56,8 @@ You can access the brokers and zookeeper by their IP or hostname, e.g. # Specify brokers by their hostnames: broker1, broker2, broker3 bin/kafka-console-producer.sh --broker-list broker1:9092,broker2:9092,broker3:9092 --topic sandbox - # Specify ZooKeeper node by its hostname: zk1 - bin/kafka-console-consumer.sh --zookeeper zk1:2181 --topic sandbox --from-beginning + # Specify brokers by their IP: 192.168.50.51, 192.168.50.52, 192.168.50.53 + bin/kafka-console-consumer.sh --bootstrap-server 192.168.50.51:9092,192.168.50.52:9092,192.168.50.53:9092 --topic sandbox --from-beginning If you need to update the running cluster, you can re-run the provisioner (the step that installs software and configures services):