kafkactl reset cgo

Reset a consumer group offset

Options

NameDescription
--all-topicsDo the operation for all topics in the consumer group
--execute, -eExecute the reset (as default only the results are displayed for validation)
--newestSet the offset to newest offset (for all partitions or the specified partition)
--offset <offset>Set offset to this value. offset with value -1 is ignored
--oldestSet the offset to oldest offset (for all partitions or the specified partition)
--output, -o <output>Output format. One of: json|yaml
--partition, -p <partition>Partition to apply the offset. -1 stands for all partitions
--topic, -t <topic>
  • Repeatable ♾