# Consumer Groups

Consumer group monitoring is a key part of operating Kafka. Lenses allows operators to view and manage consumer groups.

## View consumer groups for a topic

{% hint style="info" %}
You can view consumer groups per topic in Global SQL Studio, navigate to your topic, select the consumer group node or consumer groups from the breadcrumbs
{% endhint %}

<figure><img src="https://880527424-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNwC1VSrH2RhBa4WJMBdQ%2Fuploads%2Fx9iOgQcA17WYJRy4D3M9%2Fimage.png?alt=media&#x26;token=9afdc882-a747-480a-b385-ce686dc6105f" alt=""><figcaption></figcaption></figure>

### Consumer group actions per topic

For each consumer group in the grid you can perform the following actions by select the ellips (three vertical dots) at the end of the row:

1. Change individual offsets
2. Change multiple offsets
3. Remove consumer offset
4. &#x20;Delete the consumer group

{% hint style="danger" %}
Actions are only possible if the consumer group is not active
{% endhint %}

## Viewing all consumer groups <a href="#viewing-consumer-groups" id="viewing-consumer-groups"></a>

To view all consumer groups and the max and min lag across the partitions go to **Environments->\[Your Environment]->Workspace->Monitor->Consumers**. You can also see this information for each topic in the **Environments->\[Your Environment]->Explore screen->Select topic->Partition tab**.

## View consumer group details <a href="#view-consumer-group-details" id="view-consumer-group-details"></a>

Select, or search for a consumer group, you can also search for consumer groups that are not active.

## Viewing alerts for a consumer group <a href="#viewing-alerts-for-a-consumer-group" id="viewing-alerts-for-a-consumer-group"></a>

To view alerts for a consumer group, click the view alerts button. Resetting consumer groups is only possible if the consumer group is not active. i.e. the application must be stopped, such as a Connector or SQL Processor. Enable the show inactive consumers to find them.​​

## Resetting consumer group for a specific partition to an offset <a href="#resetting-consumer-group-for-a-specific-partition-to-an-offset" id="resetting-consumer-group-for-a-specific-partition-to-an-offset"></a>

1. Select the consumer group
2. Select the partition to reset the offsets for
3. Specify the offset

## Resetting the whole consumer group <a href="#resetting-the-whole-consumer-group" id="resetting-the-whole-consumer-group"></a>

To reset a consumer group (all clients in the group), select the consumer groups, select **Actions,** and **Change Multiple offsets**. This will reset all clients in the consumer group to either:

1. To the start
2. To the last offset
3. To a specific timestamp
