Skip to content

Filter consumers by State #1476

@Gleb-Shipilov

Description

@Gleb-Shipilov

Issue submitter TODO list

  • I've searched for an already existing issues here
  • I'm running a supported version of the application which is listed here and the feature is not present there

Is your proposal related to a problem?

No response

Describe the feature you're interested in

User story

As a Kafka UI user I want to be able to filter consumer groups by State, so that I can quickly find consumer groups by their state.
The filter should have a list of values.

Scenario: Filter by a single state "Stable"

Given I am viewing the full list of consumer groups
When I apply a filter on the "State" column for the value "Stable"
Then I should only see the consumer groups in stable state
And I should not see empty or rebalancing

Scenario: Filter by a single state "Empty"

Given I am viewing the full list of consumer groups
When I apply a filter on the "State" column for the value "Empty"
Then I should only see the consumer group in empty state
And I should not see consumer groups in stable or rebalancing state

Scenario: Filter by a state with no matching groups

Given I am viewing the full list of consumer groups
When I apply a filter on the "State" column for the value, in which there aren't any consumer groups
Then I should see no consumer groups in the grid
And a "No results found" message should be displayed

Scenario: Filter by multiple states (e.g., Stable and Empty)

Given I am viewing the full list of consumer groups
And the filter control allows selecting multiple states
When I apply a filter on the "State" column for the values "Stable" AND "Empty"
Then I should see the consumer groups in stable and empty state
And I should not see consumer groups in rebalancing state

Scenario: Clear the state filter

Given I have an active filter on the "State" column
When I clear the filter on the "State" column
Then I should see all consumer groups again

Describe alternatives you've considered

No response

Version you're running

6474fb6

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions