reset_consumer_group_offset
Reset consumer group offsets to earliest, latest, or a specific value for a given topic and partition. Supports dry run to preview changes and force option to apply despite group state.
Instructions
Resets the offset of a consumer group using AdminClient. offset_spec: 'earliest', 'latest', or a specific integer offset string. dry_run: If True, only calculates and returns the proposed offset changes without applying them. force: If True, forces the modification even if the group is active or STABLE.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group_id | Yes | ||
| topic_name | Yes | ||
| partition | No | ||
| offset_spec | No | latest | |
| dry_run | No | ||
| force | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||