当前位置:网站首页>Emqx v4.4.5 Publishing: new exclusive subscriptions and mqtt 5.0 publishing attribute support
Emqx v4.4.5 Publishing: new exclusive subscriptions and mqtt 5.0 publishing attribute support
2022-07-22 10:05:00 【EMQ Yingyun Technology】
In recent days, ,EMQX Open source Edition v4.3.16、 Open source Edition v4.4.5 And enterprise v4.3.11、 Enterprise Edition v4.4.5 Four maintenance versions were officially released .
This release realizes the connection with stream database HStreamDB Integration of , Provide one-stop data access and real-time processing analysis . The exclusive subscription function and the dynamic rule engine when republishing messages are added QoS Support with reserved message settings , At the same time, it supports API Set in MQTT 5.0 Publishing properties of (PUBLISH Properties), Help users cope with more scenarios . In addition, a number of known BUG.
Welcome to download :https://www.emqx.com/zh/try?product=enterprise
New features of rule engine
Integrate HStreamDB, One stop data access 、 Storage and Analysis
Include version Enterprise Edition v4.3.11
Enterprise Edition v4.4.5
HStreamDB It is a streaming database for data storage and real-time processing of the Internet of things . It uses standard SQL ( And its flow expansion ) As the main interface language , With real-time as the main feature , Set real-time data acquisition and capture system 、 Real time data storage system 、 Stream computing engine 、 Downstream data and application system are integrated , It aims to simplify the operation and maintenance management of data stream and the development of real-time applications .
The rules engine now supports EMQX Persistent data to HStreamDB, So as to realize the real-time processing, analysis and insight of these data . In the performance test ,EMQX stay 32 nucleus 64GB It can stably support 8 Wan Lian 、 Per second 8 ten thousand QoS 0、Payload 4KB Messages of persist to HStreamDB, Please refer to file .
Message republishing action supports message retention and dynamic QoS
Include version Open source Edition v4.3.16
Open source Edition v4.4.5
Enterprise Edition v4.3.11
Enterprise Edition v4.4.5
We introduce retained messages and dynamic... Into the message republishing function QoS Support , To meet the needs of users in specific scenarios . Among them, the demand for retaining messages comes from EMQX Question answering community , The purpose is to store the latest status of the client in EMQX For subsequent processing .
New exclusive subscription function
Include version Open source Edition v4.3.16
Open source Edition v4.4.5
Enterprise Edition v4.3.11
Enterprise Edition v4.4.5
Exclusive subscription only allows a single subscriber to subscribe to a topic , When using exclusive subscription , Can be easily implemented 「 Some data can only be processed by one subscriber at the same time 」 This kind of business .
The use of exclusive subscriptions is very similar to shared subscriptions , Use a specific topic prefix $exclusive
Indicates that this is an exclusive subscription , After a client successfully subscribes , New clients will not be able to subscribe to the same topic again .
Exclusive subscription is off by default , It needs to be enabled in this configuration item :
mqtt.exclusive_subscription = true
Examples of exclusive subscription effectiveness :
// success
clientA.subscribe('$exclusive/t/1')
// Failure , This topic has subscribers
clientB.subscribe('$exclusive/t/1')
// success , Ordinary topics without prefixes can still be successfully subscribed
clientC.subscribe('t/1')
// You need to bring a prefix to unsubscribe
clientA.unsubscribe('$exclusive/t/1')
// success
clientB.subscribe('$exclusive/t/1')
News release API Support settings MQTT 5.0 Publishing properties (PUBLISH Properties)
Include version Open source Edition v4.4.5
Enterprise Edition v4.4.5
MQTT 5.0 It supports setting additional properties when publishing messages, such as Message expiration interval 、 topic alias and User properties etc. , In the new version, users can publish messages API Use this feature in , To meet more business needs .
The following is an example of message publishing with publishing properties :
curl -i --basic -u admin:public -X POST "http://localhost:8081/api/v4/mqtt/publish" -d \
'{
"topic":"t/1",
"payload":"Hello World",
"qos":1,
"retain":false,
"clientid":"emqx_c",
"properties": {
"user_properties": { "id": 10010, "name": "emqx", "foo": "bar"},
"content_type": "text/plain",
"message_expiry_interval": 3600
}
}'
More functional optimizations
- Supported by CLI One click Update cluster License
- Dashboard And management API Of HTTPS Listeners can use password protected private key files , Provides
key_password
Configuration item - Support the use of placeholders in topic rewrite rules
%u
and%c
- Optimize rule engine resource creation UI, For example, the options that are not commonly used in the folding part
- by ExHook At the bottom gRPC The connection is open KeepAlive、TCP_NODELAY、SO_RCVBUF and SO_SNDBUF common 4 One and TCP Related configuration items
BUG Repair
Various versions BUG For repair details, please check :
- Open source Edition v4.3.16: https://www.emqx.com/zh/changelogs/broker/4.3.16
- Open source Edition v4.4.5: https://www.emqx.com/zh/changelogs/broker/4.4.5
- Enterprise Edition v4.3.11:https://www.emqx.com/zh/changelogs/enterprise/4.3.11
- Enterprise Edition v4.4.5: https://www.emqx.com/zh/changelogs/enterprise/4.4.5
边栏推荐
- To solve the pain points of API development, which is better, API post or API box?
- Set implementation class
- 網絡爬蟲爬取b站勵志彈幕並生成詞雲(精心筆記總結)
- tsconfig.json在配置文件中找不到任何输入,怎么办?
- Section 18 of Chapter 2: character set and coding
- List集合
- 本地数据如何高效灾备上腾讯云
- RHCSA 硬链接与软链接的区别、一级目录的解释、重定向、创建文件及目录、删除文件及目录、cp命令的使用、mv命令的使用
- Successfully solved the problem that the microphone of the computer doesn't work and the computer can't record sound. The microphone Realtek (R) audio is not inserted
- day02
猜你喜欢
Cocoscreator mobile game multi screen adaptation
Development of login and exit function of Heima Ruiji takeout back desk
【OpenCV 例程300篇】234. 特征提取之主成分分析(PCA)
Fast-SCNN的解释以及使用Tensorflow 2.0的实现
初识 JS
Basic concept of MySQL database and deployment of MySQL version 8.0 (I)
Flutter教程之sqlite_wrapper新的 Dart 和 Flutter 库,用于 SQLite
tsconfig.json在配置文件中找不到任何输入,怎么办?
COPU名誉主席陆首群在第十七届开源中国开源世界高峰论坛上的致辞
Section 22 of Chapter 2: document operation 1
随机推荐
用权重的分布规则去初始化权重
day02
第二章第十八节:字符集和编码
如何快速开发一个简单实用的MES系统?
MySQL数据库的基本概念以及MySQL8.0版本的部署(一)
贝加莱使用教程1-创建X20工程和点亮LED灯
JPA for data access
本地数据如何高效灾备上腾讯云
世界上最大的开源基金会 Apache 是如何运作的?
Section 17 of Chapter 2: Dictionary knowledge supplement
第二章第二十一节:运算符.2
Resume in 2022 is dead in the sea. Don't vote. Software testing positions are saturated
Use epoll to manage or golang multiprocess in case of a large number of connections
opencv实现银行卡号识别
About for In and for Of understanding and use
钟表代码分享
三维视频融合技术如何为智慧城市建设赋能
同花顺上面开户安全吗 etf交易规则及费用
Set集合
带你认识8个软件设计中的谬误