

<a id="confluent-kafka-consumer-group-lag-list"></a>

# confluent kafka consumer group lag list

## Description

### Cloud

List consumer lags for a Kafka consumer group. Only available for dedicated Kafka clusters.

```none
confluent kafka consumer group lag list <group> [flags]
```

### On-Premises

List consumer lags for a Kafka consumer group.

```none
confluent kafka consumer group lag list <group> [flags]
```

## Flags

### Cloud

```none
    --kafka-endpoint string   Endpoint to be used for this Kafka cluster.
    --cluster string          Kafka cluster ID.
    --context string          CLI context name.
    --environment string      Environment ID.
-o, --output string           Specify the output format as "human", "json", or "yaml". (default "human")
```

### On-Premises

```none
    --url string                          Base URL of REST Proxy Endpoint of Kafka Cluster (include "/kafka" for embedded Rest Proxy). Must set flag or CONFLUENT_REST_URL.
    --certificate-authority-path string   Path to a PEM-encoded Certificate Authority to verify the Confluent REST Proxy.
    --client-cert-path string             Path to client cert to be verified by Confluent REST Proxy. Include for mTLS authentication.
    --client-key-path string              Path to client private key, include for mTLS authentication.
    --no-authentication                   Include if requests should be made without authentication headers and user will not be prompted for credentials.
    --prompt                              Bypass use of available login credentials and prompt for Kafka Rest credentials.
    --context string                      CLI context name.
-o, --output string                       Specify the output format as "human", "json", or "yaml". (default "human")
```

## Global Flags

```none
-h, --help            Show help for this command.
    --unsafe-trace    Equivalent to -vvvv, but also log HTTP requests and responses which might contain plaintext secrets.
-v, --verbose count   Increase verbosity (-v for warn, -vv for info, -vvv for debug, and -vvvv for trace).
```

## Examples

List consumer lags in consumer group “my-consumer-group”.

```none
confluent kafka consumer group lag list my-consumer-group
```

## See Also

* [confluent kafka consumer group lag](index.md#confluent-kafka-consumer-group-lag) - View consumer group lag.
