Consumers
This page describes the commands for managing Kafka consumers in Lenses via the CLI.
Commands for updating consumer groups offsets.
Flags --group
and --topic
are mandatory and specify the consumer group ID and topic name respectively.
To affect all topics use the —all-topics flag.
Flag | Description |
---|---|
| Set the Consumer Group ID |
| Set the topic name |
| Select implicitly all the topics |
| The topic to reset offsets for |
| Set the partition ID |
| Reset partition offset to earliest offset |
| Reset partition offset to latest offset |
| Reset the partition offset to the provided value |
update-single-partition accepts only one --topic flag while update-multiple-partitions may accept multiple.
Update a single topic’s partition offset to the specified value
Update to the earliest offset available
Update to the latest offset available
Update given topics for all their partition offsets to the specified date time
Reset given topics for all their partition offsets to the earliest offset possible
Reset given topics for all their partition offsets to the latest offset possible
Reset offsets for all topics of this consumer group
Last updated