Offset reset for consumer group
Revision | Date | Description |
|---|---|---|
| 24.07.2024 | Init Changelog |
Instructions
Offset reset runs for consumer-group on topic:
./kafka-consumer-groups.sh --bootstrap-server HOSTS --command-config PATH_TO_client.properties --group consumer_group_name --reset-offsets --to-earliest --topic topic_name -execute
Where:
--to-earliest- resets offset to initial state (0)--to-datetime 2023-06-01T00:00:00.000- resets offset to date
As output, there should be info to which offset there was reset:

Last modified: 17 February 2025