Bridging implementation method from MQTT message system to Pulsar stream data platform
A technology of message system and implementation method, which is applied in the field of data transmission and can solve problems such as lost messages, out-of-sync replicas, and long time consumption
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0025] combined with figure 1 and figure 2 As shown, a bridge implementation method from the MQTT message system to the Pulsar flow data platform, including:
[0026] S1: Construct a topic, which is convenient for MQTT to subscribe and publish with Pulsar.
[0027] S2: Trigger event message publishing, and trigger the rule for data processing when the message is published.
[0028] S3: Firstly, four data types are designed to construct json data structure description rules. The four data types are:
[0029] The rule engine uses SQL statements to process rule conditions. It is necessary to select all the fields in the payload separately and use the format of payload.fieldName to filter. It also needs the topic, qos, and id information of the message context. The example SQL is as follows:
[0030] SELECT payload.id as client_id, payload.speed as speed, payload.tachometer as tachometer, payload.ts as ts, id FROM "message.publish" WHERE topic=~'t / #'
[0031] S4: Use the SQL...
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