Skip to content

kafka get-producer-metrics

Get kafka producer metrics

Description

Get metrics of a producer for a given topic or all topics combined

Synopsis

kafka get-producer-metrics
    [--site <site>]
    [--cluster <cluster>]
    --topic <topic>

Arguments

site - (string)

     Site where this command will be executed
     Example: --site "site-1"
     Default: input.site      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

Examples

kafka get-producer-metrics --topic "topic-1"

Access Control

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

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

Please see Access Control for details.