Cluster Tool Options
The vkconfig script's cluster tool lets you define the streaming hosts your scheduler connects to. It accepts the following arguments in addition to the Common vkconfig Script Options.
| Option | Description |
|---|---|
--cluster cluster_name |
A unique, case insensitive name for the cluster. |
--new-cluster cluster_name |
The updated name for the cluster. Requires the --update shared utility option. |
--hosts b1:port[,b2:port…] |
Identifies the broker hosts that you want to add, edit, or remove from a Kafka cluster. To identify multiple hosts, use a comma delimiter. |
|
|
A semicolon-delimited list of option |
Examples
This example shows how you can create the cluster, StreamCluster1, and assign two hosts:
$ /opt/vertica/packages/kafka/bin/vkconfig cluster --create --cluster StreamCluster1 \
--hosts 10.10.10.10:9092,10.10.10.11:9092
--conf myscheduler.config