kafka get-consumer-group-offsets
Get Kafka consumer group offsets
Description
Get offsets for a consumer group for one or more topics
Synopsis
kafka get-consumer-group-offsets
[--site <site>]
[--cluster <cluster>]
[--group <group>]
[--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
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
Examples
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 |
Namespace | |
Object Type | "consumer-group" |
Object ID | group |
Please see Access Control for details.