Skip to content

kafka get-topic-config

Get Config for kafka Topic Resource


Get one or more config for a given kafka topic resource


kafka get-topic-config
    [--site <site>]
    [--cluster <cluster>]
    --topic <topic>


site - (string)

     Site where this command will be executed
     Example: --site "site-1"
     Default:      Attributes: optional

cluster - (string)

     Name of kafka cluster
     Example: --cluster "cluster-1"
     Default: default      Attributes: optional

topic - (string)

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

config_names - (string)

     Name of config. If not provided, returns all the config of the resource
     Example: "config_names-1"
     Default: _None_      Attributes: optional, multiple allowed


kafka get-topic-config --topic "topic-1" "config_names-1"

Access Control

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

Field Value
Action "read"
Service Type "kafka"
Service Instance cluster
Object Type "topic"
Object ID topic

Please see Access Control for details.