Runbook

Kafka high producer latency on broker.

Back to Runbooks

Overview

This incident type typically involves a high producer latency on a broker in a Kafka environment. This can result in various potential impacts, such as client timeouts, delays in processing workload, or a lack of capacity leading to performance issues. Recommended actions typically include investigating the state of the broker, rebalancing topics, expanding capacity, or restarting/replacing the broker. Monitoring tools may trigger alerts to notify engineers of this potential issue.

Parameters

Debug

Check if Kafka is running on the broker

Check if there are any issues with the Kafka process

Check the disk usage on the broker

Check the network connections on the broker

Check the number of connections to the broker

Check the number of messages in the topic

Check the number of partitions in the topic

Check the resource utilization of the broker

Check the Kafka log file for errors

High network latency can cause producer latency on Kafka brokers.

Repair

Tune Kafka configuration parameters, such as the producer batch size and the number of acknowledgments required, to optimize performance.

Learn more

Related Runbooks

Check out these related runbooks to help you debug and resolve similar issues.