KAFKA message queue number monitoring method and device, electronic device and storage medium

A technology of message queues and electronic equipment, applied in devices, KAFKA message queue number monitoring method, electronic equipment and storage media, can solve problems such as waiting status, data cannot be updated, and affect normal operation, so as to improve operation and maintenance efficiency Effect

Pending Publication Date: 2019-05-17
CHINA PING AN LIFE INSURANCE CO LTD
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the number of message queues that can be stored in KAFKA is limited, once there is a backlog of messa

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • KAFKA message queue number monitoring method and device, electronic device and storage medium
  • KAFKA message queue number monitoring method and device, electronic device and storage medium
  • KAFKA message queue number monitoring method and device, electronic device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0062] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0063] Such as figure 1 Shown is a flow chart of a preferred embodiment of the KAFKA message queue number monitoring method of the present invention. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted.

[0064] The method for monitoring the number of KAFKA message queues is applied to one or more electronic devices, and the electronic device is a device that can automatically perform numerical calculation and / or information processing according to preset or stored instructions, and its hardware includes But not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable gate arrays (Field-Programmable Gate...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a KAFKA message queue number monitoring method and device, an electronic device and a storage medium. The KAFKA message queue number monitoring method comprises the steps of when a KAFKA message queue number monitoring instruction is received, defining a designated global variable; obtaining a cluster name of the KAFKA; referring to the specified global variable, and executing a consumer information script according to the cluster name to obtain KAFKA initial operation data; carrying out Chinese formatting on the KAFKA initial operation data to obtain KAFKA operation data; outputting the KAFKA operation data; calling the current message queue number from the KAFKA operation data; and when the current message queue number is greater than or equal to a first preset value, giving an alarm. According to the invention, timely early warning can be carried out when data in the KAFKA cannot be updated, and the operation and maintenance efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of software monitoring, in particular to a KAFKA message queue number monitoring method, device, electronic equipment and storage medium. Background technique [0002] KAFKA is a high-throughput distributed publish-subscribe messaging system that can handle all action streaming data in consumer-scale websites. Since the number of message queues that can be stored in KAFKA is limited, once a backlog of message queues occurs, the data in KAFKA will not be updated and will remain in a waiting state, affecting normal operation. Contents of the invention [0003] In view of the above, it is necessary to provide a KAFKA message queue number monitoring method, device, electronic equipment and storage medium, which can give timely warning when the data in KAFKA cannot be updated, and improve the operation and maintenance efficiency. [0004] A KAFKA message queue number monitoring method, said method comprising: ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F11/30
Inventor 陈东杰
Owner CHINA PING AN LIFE INSURANCE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products