Skip to content

kafka add-consumer

Add kafka consumer

Description

Add a kafka consumer for a given topic

Synopsis

kafka add-consumer
    <consumer>
    <topic>

Arguments

consumer - (string)

     Name of the consumer to be added
     Example: "consumer-1"
     Default: _None_      Attributes: required

topic - (string)

     Name of the topic
     Example: "topic-1"
     Default: _None_      Attributes: required

Examples

kafka add-consumer "consumer-1" "topic-1"

Access Control

To use this command, you need access to the following:

Field Value
Action "create"
Service Type "kafka"
Service Instance cluster
Namespace
Object Type "consumer"
Object ID consumer

Please see Access Control for details.