ADC CLI Commands

kafka-cluster

The following operations can be performed on “kafka-cluster”:

add rm show bind unbind

add kafka cluster

Add a new kafka cluster

Synopsis

add kafka cluster

Arguments

name Name for the Kafka cluster

Example

add kafkacluster kafkacluster1

rm kafka cluster

Removes a kafka cluster

Synopsis

rm kafka cluster

Arguments

name Name of the kafka cluster to remove.

Example

rm kafka cluster kafkacluster1

show kafka cluster

Displays information about the Kafka cluster, its bootstrap and all topic servicegroups and members.

Synopsis

show kafka cluster []

Arguments

name Name for the Kafka cluster

Output

serviceGroupName Name of the bound servicegroup.

activesvc Total active services bound to servicegroup.

totalsvc Total services bound to servicegroup.

topicname Topic of the servicegroup.

numTopics Total number of topic servicegroups bound.

stateflag devno count _nextgenAPIResource

Example

show kafka cluster kafkacluster1

bind kafka cluster

Binds a servicegroup to a kafka cluster.

Synopsis

bind kafka cluster -serviceGroupName

Arguments

name Name for the Kafka cluster

serviceGroupName Name of the service group that is bound.

Example

bind kafka cluster kafkacluster1 -servicegroupname svcgroup

unbind kafka cluster

Unbinds a servicegroup from a kafka cluster.

Synopsis

unbind kafka cluster -serviceGroupName

Arguments

name Name for the Kafka cluster

serviceGroupName Name of the service group that is bound.

Example

unbind kafka cluster kafkacluster1 -servicegroupname svcgroup

kafka-cluster