Stable high-throughput asynchronous task processing method based on kafka
An asynchronous task, high-throughput technology, used in electrical digital data processing, multi-programming devices, instruments, etc., can solve problems such as large coupling of business systems, and achieve the effect of reducing coupling, ensuring integrity, and improving functions
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0023] The technical solution of the present invention will be specifically described below in conjunction with the accompanying drawings.
[0024] The present invention realizes a stable high-throughput asynchronous task processing method based on kafka, such as figure 1 As shown, the specific implementation steps are as follows:
[0025] 1. According to the configuration information of Kafka, initialize consumer-related parameters, such as the maximum number of acquisition tasks, topic information, number of threads, monitoring interval configuration, and timeout.
[0026] 2. Create a thread pool object and consumer object according to the parameter information, and search for the corresponding consumer in the spring container according to the name of "topic + KafkaServiceImpl" according to the configured topic information.
[0027] 3. Add the number of management threads to the monitoring task, and output the relevant monitoring information through the scheduled task.
[...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com