BrokerTopicMetrics

BrokerTopicMetrics is a KafkaMetricsGroup with performance metrics of topics.

Table 1. BrokerTopicMetrics’s Performance Metrics
Metric Name Description

BytesInPerSec

BytesOutPerSec

BytesRejectedPerSec

FailedFetchRequestsPerSec

FailedProduceRequestsPerSec

FetchMessageConversionsPerSec

MessagesInPerSec

ProduceMessageConversionsPerSec

ReplicationBytesInPerSec

(only when topic name is undefined)

ReplicationBytesOutPerSec

(only when topic name is undefined)

TotalFetchRequestsPerSec

TotalProduceRequestsPerSec

The performance metrics are registered in kafka.server:type=BrokerTopicMetrics group.

BrokerTopicMetrics jconsole.png
Figure 1. BrokerTopicMetrics in jconsole

BrokerTopicMetrics is created for BrokerTopicStats when requested to look up or create a new BrokerTopicMetrics for a topic or accumulated metrics for all topics.

BrokerTopicMetrics takes an optional topic name to be created.

BrokerTopicMetrics uses metric tags of topic and the topic name (if defined).

results matching ""

    No results matching ""