mirror of https://github.com/apache/kafka.git
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:
parent
c140f09406
commit
fc616cb521
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue