Redirect to consumer group page after offset reset #1099
Labels
area/ux
User experiense issues
status/triage/completed
Automatic triage completed
status/triage/manual
Manual triage in progress
type/enhancement
En enhancement/improvement to an already existing feature
Issue submitter TODO list
Is your proposal related to a problem?
No response
Describe the feature you're interested in
Prerequisites
When a user resets consumer group offsets, the user is being redirected to the list of all consumer groups.
I, as a Kafka UI user, want to be redirected back to the consumer group page after resetting offsets for a topic, so I can reset offsets for other topics.
To do
After resetting consumer group offsets for a topic redirect back to the page of the consumer group
Acceptance criteria
Scenario 1: Successful redirection to the specific consumer group page after resetting offsets for a topic.
Given
A Kafka UI user is viewing the details of a specific consumer group.
The user initiates the action to reset offsets for one topic within that consumer group.
The offset reset operation for that topic completes successfully.
When
The offset reset operation for the specified topic finishes.
Then
The user MUST be redirected back to the page of the specific consumer group they were previously viewing (i.e., not to the list of all consumer groups).
The consumer group page MUST display the updated offset information for the topic(s) affected by the reset.
The user SHOULD see a confirmation message indicating the successful offset reset (e.g., "Offsets reset for topic [Topic Name]").
Scenario 2: Error handling during offset reset does not disrupt redirection behavior.
Given
A Kafka UI user is viewing the details of a specific consumer group.
The user initiates the action to reset offsets for one topic within that consumer group.
The offset reset operation for that topic encounters an error (e.g., Kafka connection issue, invalid parameters).
When
The offset reset operation for the specified topic fails.
Then
The user MUST be redirected back to the page of the specific consumer group they were previously viewing.
The user MUST see an error message clearly explaining that the offset reset failed for the topic (e.g., "Failed to reset offsets for topic [Topic Name]: [Error Details]").
The consumer group page MUST display the current, un-reset offset information for the topic.
Describe alternatives you've considered
No response
Version you're running
1.2.0
Additional context
No response
The text was updated successfully, but these errors were encountered: