kafkabroker create

Prev Next

This command creates a Kafka event broker configuration on the VAST cluster.

Usage

kafkabroker create --name NAME
                   --addresses ADDRESSES
                   [--tenant-ID TENANT_ID] 

Required Parameters

--name NAME

The name for the new Kafka broker configuration.

--addresses ADDRESSES

Enter one or more Kafka broker bootstrap URLs.

Specify ADDRESSES  as a comma-separated list of <host>:<port> pairs, where:

  • <host> is an IP address or FQDN of the Kafka broker server.

  • <port> is the port number.

You can specify up to five  <host>:<port> pairs.

For example: 192.168.1.1:9092,192.168.1.2:9092

Tip

Ensure that the hosts are accessible from the VAST cluster's management interface at the specified ports.

Options

--tenant-id TENANT_ID

Add this option if you want to restrict use of this Kafka broker to a particular tenant.

If this option is not specified, the Kafka broker will be available for all tenants.

Example

To create setup to connect to a Kafka broker at 192.168.1.4 that will be used to publish events from tenant 3 only:

vcli: admin> kafkabroker create --name mybroker --addresses 192.168.1.4:9092 --tenant-id 3