The Kafka administrator can use the PATROL for Apache Kafka metrics to monitor the performance of the Kafka environment. If the KM generates an event, the administrator can use that information to adjust (tune) the parameters set in the Kafka environment to ensure that the Brokers and Producers are working efficiently.
This page includes information about the following PATROL for Apache Kafka attributes:
Message Time attribute helps us understand the performance of the Broker with a given data size (Message size). Distribution of the Producers on different locations can affect the Message Time by the network latency. The KM can help us understand the best and worst locations to place the Producers in.
Set the threshold on this attribute to get notified about the average time of messages. The time is calculated as the time required to send the message from the producer until it is received by the consumer. The thresholds of this attribute range from 0 to 1000. If you set an alert on this attribute, the KM generates an event when the average time reaches the maximum threshold value. For more information about this attribute, see Message time (MessageTime) attribute page.
Set the threshold on this attribute to get notified about the size of the messages that are sent by the producer. The thresholds of this attribute range from 0 to 1000. If you set an alert on this attribute, the KM generates an event when the message size reaches the maximum threshold value. For more information about this attribute, see Message size (DataSize) attribute page.
Message time and Message size graph
Event generated by the KM
The KM event indicates that you might want to recheck the Producer location that is affecting the message time.
Where to go from here
Using the TrueSight console, you can adjust the thresholds ranges for these monitoring attributes with the Agent Threshold tab in the Infrastructure Policies page. For more information see, Defining a monitoring policy.