Method and device for synchronizing service data
A technology of business data and data, applied in database indexing, structured data retrieval, electronic digital data processing, etc., can solve problems such as low latency, and achieve the effects of low latency, no development workload, and great flexibility
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0048] A method for synchronizing business data provided by an embodiment of the present invention, such as figure 1 shown, including the following steps:
[0049] Step 101, synchronizing the Mysql data as business data to the Kafka cluster through the Maxwell component;
[0050] Step 102, synchronizing the data in the Kafka cluster to the HBase;
[0051] Step 103, map the table stored in the HBase to the Hive database, and complete the synchronization of the business data.
[0052] In a specific implementation, the "synchronize Mysql data as business data to the Kafka cluster through Maxwell" in step 101 includes:
[0053] Use the Maxwell component to pull the binlog log of Mysql in real time;
[0054] The binlog log is parsed into JSON format by the Maxwell component, and the data in JSON format is sent to the topic in the Kafka cluster.
[0055]Further, before "Using Maxwell components to pull Mysql binlog logs in real time", it also includes:
[0056] Enable the binlo...
Embodiment 2
[0121] Embodiment 2 of the present invention also discloses a device for synchronizing business data, such as Figure 4 shown, including:
[0122] The first synchronization module 201 is used to synchronize Mysql data as business data to the Kafka cluster through the Maxwell component;
[0123] A second synchronization module 202, configured to synchronize data in the Kafka cluster to the HBase;
[0124] The mapping module 203 is configured to map the tables stored in the HBase to the Hive database to complete the synchronization of the business data.
[0125] In a specific embodiment, the first synchronization module 201 is configured to:
[0126] Use the Maxwell component to pull the binlog log of Mysql in real time;
[0127] The binlog log is parsed into JSON format by the Maxwell component, and the data in JSON format is sent to the topic in the Kafka cluster.
[0128] In a specific embodiment, the first synchronization module 201 is also used for:
...
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