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.
-g, --group
Set the Consumer Group ID
-t, --topic
Set the topic name
--all-topics
Select implicitly all the topics
--topics
The topic to reset offsets for
--partition
Set the partition ID
--to-earliest
Reset partition offset to earliest offset
--to-latest
Reset partition offset to latest offset
--to-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