# 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="/files/9GsrnfyM3ozEtIu825O3" 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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.lenses.io/latest/devx/6.1/user-guide/monitoring-and-alerting/consumer-groups.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
