Skip to content

kafka get-consumer-metrics

Get kafka consumer metrics

Description

Get metrics for one or more consumer for a kafka consumer

Synopsis

kafka get-consumer-metrics
    <metric>
    <consumer>

Arguments

metric - (string)

     Specify metric as string or Id
     Example: "metric-1"
     Default: _None_      Attributes: required

consumer - (string)

     Specify consumer as string or Id
     Example: "consumer-1"
     Default: _None_      Attributes: required

Examples

kafka get-consumer-metrics "metric-1" "consumer-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 "consumer"
Object ID consumer

Please see Access Control for details.