Skip to content

kafka get-consumer-group-offsets

Get Kafka consumer group offsets


Get offsets for a consumer group for one or more topics


kafka get-consumer-group-offsets
    [--site <site>]
    [--cluster <cluster>]
    [--group <group>]
    [--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

group - (string)

     consumer group id
     Example: --group "group-1"
     Default: _None_      Attributes: optional

topic - (string)

     Name of kafka topic
     Example: --topic "topic-1"
     Default: _None_      Attributes: optional, multiple allowed


kafka get-consumer-group-offsets --group "group-1" --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
Object Type "consumer-group"
Object ID group

Please see Access Control for details.