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 <jason@confluent.io>
This commit is contained in:
Kengo Seki 2019-05-19 11:56:56 +09:00 committed by Jason Gustafson
parent c140f09406
commit fc616cb521
1 changed files with 2 additions and 2 deletions

View File

@ -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):