The system checks the Kafka disk usage every 60 seconds and compares it with the threshold. This alarm is generated if the disk usage exceeds the threshold.
To modify the threshold, users can choose
on MRS Manager.This alarm is cleared if the Kafka disk usage is lower than or equal to the threshold.
Alarm ID |
Alarm Severity |
Auto Clear |
---|---|---|
38001 |
Major |
Yes |
Parameter |
Description |
---|---|
ServiceName |
Specifies the service for which the alarm is generated. |
RoleName |
Specifies the role for which the alarm is generated. |
HostName |
Specifies the host for which the alarm is generated. |
PartitionName |
Specifies the disk partition where the alarm is generated. |
Trigger Condition |
Generates an alarm when the actual indicator value exceeds the specified threshold. |
Kafka fails to write data to the disks.
If the retention period cannot be adjusted for certain topics, the topics can be added to disk.adapter.topic.blacklist.
kafka-topics.sh --zookeeper ZooKeeper address:24002/kafka --alter --topic Topic name --config retention.ms=Retention period
kafka-topics.sh --zookeeper ZooKeeper address:24002/kafka --alter --topic Topic name --partitions=Number of new partitions
It is advised to set the number of new partitions to a multiple of the number of Kafka disks.
This operation may not quickly clear the alarm. Data will be gradually balanced among the disks.
N/A