The Consumers menu provides a view of all consumer groups for all topics in a
cluster. From the consumer pages, you can:
All consumer groups page
Use the All consumer groups page to:
- View all consumer groups for a cluster
- Search for a consumer group by its ID
- View the number of consumers and number of source topics for each consumer group
- View details such as Consumer Lag and
Consumption metrics for a consumer group
- Set up a pre-populated alert for Consumer Lag
To access the All consumer groups page:
Select a cluster from the navigation bar and click the Consumers menu.
Set up an alert for a consumer group
You can set alerts from the Consumer lag page. These options pre-populate most of
the consumer group trigger fields.
On the Consumer lag page, click Set up an alert.
For more details, see Consumer lag trigger.
Enabling and disabling the Consumers feature
The Consumers
feature for viewing details for consumer lag and consumption in consumer groups
is enabled by default. The feature can be disabled by setting the
confluent.controlcenter.consumers.view.enable
option
in the appropriate Control Center properties file
to false
. After disabling the
feature, the Consumer submenu in the Cluster navigation
is no longer visible in the Control Center UI.
Important
If RBAC is enabled for Control Center,
it takes precedence over Access Control settings.
To disable the Consumers feature in Control Center:
Set the confluent.controlcenter.consumers.view.enable
option in
your control-center.properties
file to false
.
...
confluent.controlcenter.consumers.view.enable=false
...
Note
Make the change in the appropriate Control Center properties files configured for your
environments, including control-center-dev.properties
or control-center-production.properties
. The
properties files are located in /path-to-confluent/etc/confluent-control-center/
. For
more information, see Control Center properties files.
Restart Control Center and pass in the properties file for the configuration to take effect.
Local (dev) environment:
confluent local services control-center stop
confluent local services control-center start --config ../etc/confluent-control-center/control-center.properties
Production environment:
./bin/control-center-stop
./bin/control-center-start ../etc/confluent-control-center/control-center.properties
To enable the feature again, set the option back to true
and restart
Control Center with the updated properties file.