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.

--kafka_conf 'option=value[;option2=value2...]'

A semicolon-delimited list of option=value pairs to pass directly to the rdkafka library. This is the library Vertica uses to communicate with Kafka. You can use this parameter to directly set configuration options that are not available through the Vertica integration with Kafka. See Directly Setting Kafka Library Options for details.

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