Configure Lag Alarm Rules
Scenario
The Kafka UI allows you to view and modify lag alarm rules. If these rules are triggered, alarm "ALM-38018 Kafka Consumer Lag" will be reported.
This section applies only to MRS 3.5.0 and later versions.
Configuring Lag Alarm Rules
- Access the Kafka UI.
- Log in to FusionInsight Manager as a user who has the permission to access the Kafka UI and choose Cluster > Services > Kafka.
If you need to perform related operations on the page, for example, creating a topic, you need to grant related permissions to the user. For details, see Kafka User Permissions.
- On the right of KafkaManager WebUI, click the URL to access Kafka UI.
- Log in to FusionInsight Manager as a user who has the permission to access the Kafka UI and choose Cluster > Services > Kafka.
- Click Alarms on the menu bar.
- Click Create Lag Alarm, create a Kafka message lag alarm rule as prompted, and click Create.
Figure 1 Create Lag Alarm
Table 1 Lag alarm rule configuration parameters. Parameter
Description
Example Value
Consumer groups to be monitored
Name of the consumer group to be monitored.
example-group1
Topics to be monitored
Name of the topic to be monitored.
topic-1
Lag threshold for major alarms
Message backlog threshold when a major alarm is sent.
2
Lag threshold for critical alarms
Message backlog threshold when a critical alarm is sent.
4
Message lag is calculated as the total lag across all partitions in the current topic. Refer to Using KafkaUI to View the Current Consumption Status to check the message lag for all partitions in the topic for the consumer group.
- You can manage the lag alarm rules by accessing the Lag Alarms page, where you can view, modify, or delete them.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot