Monitor Kafka Topics
Lenses indicates the health status of a topic. The metrics of the data, the partition status and replicas status, and also its consumers.
Lenses provides a map showing the number of records that are currently allocated to each partition. Using this map, users can quickly identify if a partition has been over-utilized and rearrange their partitioning strategy.
- Navigate to the Topic and select the Partitions tab.
The details for each partition are also available together with the replication status. To view partitions health:
- Lead broker per partition.
- Records per partition.
- Data size per partition.
- Max and min offset per partition.
- The indicator is the replicas are in-sync.
To view the active consumers for a specific topic:
- Navigate to the Topic and select the Consumers tab.
The details for each consumer is available:
- The partitions they are consuming from.
- The lag offset.
- Consumer group stability.
You can drill further into the consumer by clicking the consumer name.
The JMX metrics tab provides detailed information about each broker. To view the JMX metrics for each Topic per broker:
- Navigate to the Topic and select the JMX Metrics tab.
You can enable rules to get alert events when a topic is created or deleted. See Alert Rules for more information.