# Consumer Groups

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

{% hint style="info" %}
The connector and SQL Processor pages allow you to navigate straight to the corresponding consumer groups.

The Explore screen also shows the active consumer groups on each topic.
{% endhint %}

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

To view 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.0/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.
