Runbook

Low Retention Size for Kafka Topic.

Back to Runbooks

Overview

This incident type refers to an issue where the retention size for a Kafka topic is set too low. The retention size is the amount of time that Kafka retains messages in a topic before they are deleted. When the retention size is set too low, messages may be deleted before they can be consumed or processed, which can result in data loss or other issues. This can be caused by misconfiguration or changes in the data ingestion rate. It is important to monitor retention sizes and adjust them as necessary to prevent data loss and ensure smooth data processing.

Parameters

Debug

Connect to the Kafka broker

View the current retention size for the topic

Check if there are any consumers for the topic

View the current disk usage for the Kafka broker

Repair

Increase the retention size of the Kafka topic by modifying the configuration file.

Increase the retention size for the topic

Learn more

Related Runbooks

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