当前位置:网站首页>Ekuiper newsletter 2022-05 protobuf codec support, visual drag and drop writing rules
Ekuiper newsletter 2022-05 protobuf codec support, visual drag and drop writing rules
2022-06-10 13:13:00 【EMQX】
This may ,eKuiper be in 1.6.0 The early stage of the development of new functions in the version , Product function development mainly includes protobuf Codec support . It is aimed at the user's requirement of writing data processing rules by dragging , We are also doing prototype verification .v1.5.1 Of bug The repair is also in progress , Is due to 6 Early release .
Besides , As an edge stream data processing software ,eKuiper Also participated in the 《 Technical capability requirements for edge stream data processing 》 Standard assessment , After the adoption of eKuiper It will be the first product to pass this standard .
protobuf Codec support
at present source and sink About the configuration properties of codec format The default value is JSON, Users can use the new protobuf Options for protobuf Coding and decoding capability of . Compared with JSON,protobuf The amount of encoded data is smaller , It helps to save the transmission bandwidth between cloud edges . This function has been developed but not released yet , Users can use the edge source code v1.6.0 Branch for trial .
Compared to no mode (schema) Of JSON Format ,protobuf Need to define proto File as codec schema. In the use of protobuf Before the format , Users need to register first schema, And through the new schemaId attribute , Specify the encoding and decoding options schema.
Schema management
Use REST API register ,schema The content can be provided through file path or text .
// POST /schemas
{
"id":"fileName",
"file":"http://myhost/files/abc.proto"
}
Or configure through text content :
// POST /schemas
{
"id":"schemaName",
"content":"message Person {
required string name = 1;
required int32 id = 2;
optional string email = 3;
}"
}
No matter how , Content will be stored in etc/schemas/protobuf.
Sink Use in protobuf
- format, Used to specify the encoding used
- schemaId, Used to designate the use of schema
{
"mqtt":{
"server":"tcp://127.0.0.1:1883",
"topic": "result",
"format":"protobuf",
"schemaId":"schemaName.Person" // protobuf Of ID In two parts , The front is the file name , The back is message name
}
}
Source Use in protobuf
FORMAT, Support protobuf
SCHEMA_ID , Used to designate the use of schema
CREATE STREAM demo() WITH (TYPE="NEURON", FORMAT="protobuf", SCHEMA_ID="schemaName.Person")
Visual drag and drop editing capability
Before eKuiper Only... Is supported for streaming data SQL Form to write data processing rules , There is a certain threshold , It is not convenient for business personnel to directly participate in rule writing . In order to further reduce the use threshold ,eKuiper The preparation supports the visual dragging and dropping of data processing units and simple editing and configuration , Finally, multiple data processing units are connected to form data processing rules automatically , It is convenient for more people to use it directly eKuiper Conduct business processing . At present, this scheme is in the prototype design stage .

Coming soon
Next month we will improve visual drag and drop editing , And merge into the main branch . in addition ,eKuiper Will optimize sink Cache mechanism after error , Implement memory + Offline storage of disk , And resend in sequence after error recovery , To support stronger recovery capability in case of network disconnection , Cache data for a longer time .
Copyright notice : This paper is about EMQ original , Reprint please indicate the source .
Link to the original text :https://www.emqx.com/zh/blog/ekuiper-newsletter-202205
边栏推荐
- If the files and graphics are lost, it means that you don't need the office developed by yourself
- OFFICE技术讲座:标点符号-英文-大全
- Qt数据库应用22-文件编码格式识别
- The APK file does not exist on disk
- 线性动态规划专讲
- list. Remove (index) returns false, removal failed
- Final exam - Principles of compilation
- Asynchronous export of Excel
- 'setbackgrounddrawable() 'is deprecated, setbackgrounddrawable is obsolete
- Error:top-left corner pixel must be either opaque white or transparent.
猜你喜欢

Commencez par interpréter le Code généré automatiquement par la BDC et expliquez les composantes du programme de l'interface graphique SAP.

Wei Lai: "pinches" the data and "pinches" the future

如果再写for循环,我就锤自己了

手机厂商“返祖”,只有苹果说不
![[flinlk] dynamic Kerberos authentication in Flink pit](/img/ba/3a85df364ae0bcfca38e5f26366c03.png)
[flinlk] dynamic Kerberos authentication in Flink pit

Creating basic stacks and queues in C language

Count the number and average value of natural numbers whose sum of bits within 100 is 7
![Vdo-slam source code reading notes [2] local optimization and global optimization](/img/01/7ce7113737d9799ac2684788d9f08d.jpg)
Vdo-slam source code reading notes [2] local optimization and global optimization

【NLP】NLP全路径学习推荐

深度神经网络每秒分类近20亿张图像,新型类脑光学分类器芯片登上Nature
随机推荐
"Reduce the burden" so that the "pig" can fly higher
Office technical lecture: punctuation - Chinese - vertical
Code free may event Microsoft low code matrix update; Multiple industry reports released
MYSQL 主库操作大表DDL ,从库崩溃与系统参数错误设置
Neuron Newsletter 2022-05|新增 2 个南向驱动和 1 个北向应用、Modbus TCP 实现定制扩展
VDO-SLAM源码阅读笔记[1] Track()中动态obj部分
Development trend of Web Development
QA of some high frequency problems in oauth2 learning
【FAQ】运动健康服务REST API接口使用过程中常见问题和解决方法总结
Unity typewriter to automatically roll text to the bottom of the text box
JS click the button to slide to the left
Leetcode 96. 不同的二叉搜索樹
Which EDA design software should Altium Allegro pads choose
MySQL service evolution
Automatic Mapping of Tailored Landmark Representations for Automated Driving and Map Learning 论文阅读
Software project management 6.10 Cost budget
From "chemist" to developer, from Oracle to tdengine, two important choices in my life
[deep learning] the credit card fraud anomaly detection based on the deep learning autoencoder is very effective
[raise bar C #] how to call the base of the interface
Mobile phone manufacturers "go back to their ancestors", only apple said no