Message processing system and processing method based on kafka

A message processing and message technology, applied in transmission systems, digital transmission systems, electrical components, etc., can solve the problems of message processing capability decline, system stability and service effectiveness decline, repeated messages and multiple system resources, etc., to achieve message processing. Improved capability, improved system stability and service effectiveness, and reduced access times

A message processing and message technology, applied in transmission systems, digital transmission systems, electrical components, etc., can solve the problems of message processing capability decline, system stability and service effectiveness decline, repeated messages and multiple system resources, etc., to achieve message processing. Improved capability, improved system stability and service effectiveness, and reduced access times

CN104754036AInactive Publication Date: 2015-07-01HEYI INFORMATION TECH BEIJING

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Message processing system and processing method based on kafka

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0012] The specific embodiment of the present invention is described below in conjunction with accompanying drawing:

[0013] Such as figure 1 As shown, a kafka-based message processing system includes a message producer cluster composed of 3 message producers, a kafka cluster, and a consumer cluster composed of 2 consumers. The kafka cluster is composed of 3 servers, and each server Store messages according to a certain topic. The topic is a certain key and algorithm. Each message producer submits messages to one or more servers, and each consumer subscribes messages to one or more servers. Consumers include filter modules, local The message queue cache module and the business processing module. The filter module is a container that does not allow duplicate data. It is used to receive messages subscribed by consumers from the server. The local message queue cache module is used to cache messages filtered by the filter module. The business processing module uses To obtain the...

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 discloses a message processing system and processing method based on kafka and belongs to the technical field of message processing. The message processing system and processing method based on kafka are aimed to solve the problems of the prior art that repeated messages appear in an order system frequently, the processing for each message consumes much system resource, the system resource consumption would greatly increase the database visitor volume at the consumer end, the message processing ability is lowered, and the system stability and service effectiveness are lowered. The message processing system based on kafka comprises a message producer cluster composed of one or more message producers, a kafka cluster, and a consumer cluster composed of one or more consumers, the kafka cluster is composed of one or more servers, and the consumer cluster comprises a filter module, a local message queue caching module and a business processing module. The message processing method realized through the system is used for the system especially the order system which needs to process a large number of messages.

Description

technical field [0001] The invention specifically relates to a kafka-based message processing system and processing method, and belongs to the technical field of message processing. Background technique [0002] Kafka is a distributed message queue system (Message Queue) developed by Linkedin. [0003] The main goal of kafka development is to build a data processing framework for processing massive logs, user behavior and website operation statistics. In the case of combining data mining, behavior analysis, operation monitoring and other requirements, it needs to be able to meet the requirements of various real-time online and batch offline processing applications for low latency and batch throughput performance. Fundamentally speaking, high throughput is the first requirement, followed by real-time and persistence. [0004] The Kafka cluster consists of multiple Broker servers. Each type of message is defined as a topic. Messages within the same topic are partitioned an...

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
01 Jul 2015
Publication
CN104754036A
IPC
H04L29/08; H04L12/58
CPC
H04L51/212; H04L67/5682
Inventors
文德民; 潘柏宇