Kafka Topics

A Topic is a unit or component where streaming and publishing data is stored. Multiple streaming data can be stored and can be published to one or more channels or consumers. The Kafka Topics dashboard displays a list view of all topics created in the Kafka cluster.

You can view the following metrics for existing topics in a Kafka cluster.

Click a topic to view the Kafka Topic Details page.

Adding Metrics

By clicking on the Table Settings icon on the right side of the screen, you can now add the appropriate metrics. The following example demonstrates this.

Table Settings

Table Settings

MetricDescription
NameThe name of the topic.
OnlineThis state shows that the Kafka topic is online and receiving messages from the producer.
# of PartitionsNumber of partitions created in the topic.
Replication FactorDefines the number of copies a topic has in a Kafka cluster. These copies are used in the event of a failover. If Replication Factor is N, Kafka can tolerate up to N-1 failures.
% in syncThe percentage value at which the topics are in sync with the topics in replication factor.
Data In/OutAmount of data streamed in and streamed out of a topic.
Total Replica Fetcher LagThe Fetcher Lag measures the lag in the quantity of messages per follower replica.
Bytes In Mean RateAverage rate of incoming data.
Bytes Out Mean RateAverage rate of outgoing data.
# of ConsumersNumber of consumers or subscribers of a topic.
# of Consumer GroupsNumber of groups fetching data from a topic.
Consumer LagRepresents how far the consumer unit is from fetching data from the producer.
Unassigned LeadersNumber of partitions with leaders not assigned.
RetentionThe time limit for message retention. Messages get discarded after the displayed period. Note If no values are displayed, then the default value is taken for retention.
Avg SizeThe average partition size of a topic.
Under ReplicatedNumber of partitions that are under replicated.
Total SizeThe total size of the topic.
# Offline PartitionsNumber of offline (unavailable) partitions.
Min Fetch LagMinimum lag between the current consumer offset and the highest offset.
Max Fetch LagMaximum lag between the current consumer offset and the highest offset.

Click to download the metrics data in XLSX format.

Click on Table Settings on the top right corner to view and select columns.

Grouping by Brokers

To group the topics by Brokers, click the Group by drop down and select Brokers.

Grouping by Brokers displays the following metrics.

To view the topics in a broker, click the row of a broker.

MetricDescription
Broker IdThe ID of the broker in the Kafka cluster.
# of PartitionsNumber of partitions created in the broker.
# of LeadersNumber of leaders that Zookeeper elects for coordination.
Under Replicated PartitionsNumber of partitions yet to be replicated.
Bytes in/outAmount of incoming and outgoing data.
Request Handler Idle RatioRatio of time or fraction of time at which the request handler is idle. The values can be 0 or 1 or any value between 0 and 1. 0 represents that no resources are available to use and 1 represents that all resources are available.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard