本次发布版本主要是针对 smart-mqtt 性能作了很大的提升。
另外受制于性那压测工具 emqx-bench 无法支持 arm 架构的服务器,我们自研了能够实现跨平台的 Java 版压测工具:smart-mqtt-bench。

1. About smart-mqtt

smart-mqtt is an MQTT Broker service developed in java language, and it is also the first truly IoT-oriented solution under the smartboot organization. It aims to help enterprises quickly build stable and reliable IoT services at a lower cost, and facilitate the interconnection of all things.

2. Quick start

2.1 Jar package startup

Download address: https://gitee.com/smartboot/smart-mqtt/releases/tag/v0.10


java -jar smart-mqtt-broker-community-0.10.jar

2.2 docker start


docker run -d --name smart-mqtt -p 1883:1883 smartboot/smart-mqtt:latest

3. Update content 🎉

3.1 Community Edition

  1. Use the self-developed stress testing tool smart-mqtt-bench to replace emqx-bench to obtain a better and more powerful stress testing experience.
  2. fastjson is upgraded to fastjson2:2.0.20.graal.
  3. Restructure the message push model to obtain higher communication performance through optimized design.
  4. The event type of the new event bus: MESSAGE_BUS_CONSUMED
  5. MemoryMessageStoreQueue stores only messages of type MqttPublishMessage.
  6. The buffer configuration parameter is adjusted from readBufferSize to bufferSize, and read/write share this parameter.
  7. Added a limit on the number of Topics for the Broker service, and the default value is: 1024.
  8. The largest packet supported by MQTT Broker adopts parameterized configuration: maxPacketSize.
  9. maxKeepAliveTime is adjusted from 1 minute to 10 minutes.
  10. Remove BrokerContext#batchPublish interface.
  11. Remove the MonitorPlugin plugin.
  12. Multiple MQTTClients support a shared memory pool.
  13. The MQTT Client buffer is configured with parameters.
  14. Support temporary expansion of buffer capacity, no more than maxPacketSize.
  15. Upgrade flight window flow control algorithm.
  16. Message output supports active and passive modes.

3.2 Enterprise Edition

  1. Adjust the authorization prompt information.
  2. Improve packaging tools.
  3. Adapt to the latest version of smart-mqtt.

4. Documentation 📘

For more content, visit the official website: https://smartboot.tech/smart-mqtt/

5. About Enterprise Edition

For the sustainable development of the project, we have enriched some enterprise-level functions on the basis of the smart-mqtt community edition.If your company recognizes the commercial value of smart-mqtt, you can becomesponsorObtain an enterprise license.

Functioncommunity editionEnterprise Edition
MQTT/TCP
MQTT/Websockets
Broker cluster

sponsorship level

bronze sponsorsilver sponsorgold sponsorplatinum sponsor
Conditions of sponsorshipJoin the Enterprise Support Program500 yuan / year1500 yuan/year5000 yuan/year
License validity period1 year1 year1 year1 year
Deployment guide1 time1 timeUnlimited
赞助商Logo DisplaysmallMediumlarge
Home Logo Display
Technical SupportdocumentMail/IssuesWeChat/QQ/EmailWeChat/QQ/Email

#smartmqtt #v010 #released #reliable #IoT #solution #News Fast Delivery

Leave a Comment

Your email address will not be published. Required fields are marked *