- 版本发布 (Changes)
- 版本发布 (Changes)
- 2.3.11 版本
- 2.3.10 版本
- 2.3.9 版本
- 2.3.8 版本
- 2.3.7 版本
- 2.3.6 版本
- 2.3.5 版本
- 2.3.4 版本
- 2.3.3 版本
- 2.3.2 版本
- 2.3.1 版本
- 2.3.0 版本 “Passenger’s Log”
- 2.3-rc.2 版本
- 2.3-rc.1 版本
- 2.3-beta.4 版本
- 2.3-beta.3 版本
- 2.3-beta.3 版本
- 2.3-beta.2 版本
- 2.3-beta.1 版本
- 2.2 正式版 “Nostalgia”
- 2.2-rc.2 版本
- 2.2-rc.1 版本
- 2.2-beta.3 版本
- 2.2-beta.2 版本
- 2.2-beta.1 版本
- 2.1.2 版本
- 2.1.1 版本
- 2.1.0 版本
- 2.1.0-rc.2 版本
- 2.1.0-rc.1 版本
- 2.1.0-beta.2 版本
- 2.1.0-beta.1 版本
- 2.1-beta 版本
- 2.0.7 版本
- 2.0.6 版本
- 2.0.5 版本
- 2.0.4 版本
- 2.0.3 版本
- 2.0.2 版本
- 2.0.1 版本
- 2.0 正式版 “西湖以西”
- 764: add mqtt.cache_acl option
- 667: Configuring emqttd from environment variables
- 722: mqtt/superuser calls two times emqtt_auth_http
- 754: “-heart” option for EMQ 2.0
- 741: emq_auth_redis cannot use hostname as server address
- 2.0-rc.3 版本
- 2.0-rc.3 版本
- 2.0-rc.2 版本
- 2.0-rc.1 版本
- 2.0-beta.3 版本
- 2.0-beta.2 版本
- 2.0-beta.1 版本
- 1.1.3 版本
- 1.1.2 版本
- 1.1.1 版本
- 1.1 版本
- 1.0.2 版本
- 1.0.1 版本
- 1.0 (七英里) 版本
- 0.17.1-beta 版本
- 0.17.0-beta 版本
- 0.16.0-beta 版本
- 0.15.0-beta 版本
- 0.14.1-beta 版本
- 0.14.0-beta 版本
- 0.13.1-beta 版本
- 0.13.0-beta 版本
- 0.12.3-beta 版本
- 0.12.2-beta 版本
- 0.12.1-beta 版本
- 0.12.0-beta 版本
版本发布 (Changes)
版本发布 (Changes)
2.3.11 版本
发布日期: 2018-07-23
Bugfix and Enhancements
Fix the getting config REST API which throws exceptions.
Support to restart listeners when emqttd is running.
Specify a fixed tag for the dependency libraries.
emq-auth-jwt
Fix token verification with jwerl 1.0.0
emq-auth-mongo
Support $all variable in ACL query. (emq-auth-mongo#123)
Support both clientid and username variables in all queries. (emq-auth-mongo#123)
2.3.10 版本
发布日期: 2018-06-27
Bugfix and Enhancements
Upgrade the esockd library to v5.2.2
emq-auth-http
Ignore auth on ignore in body, allows for chaining methods
2.3.9 版本
发布日期: 2018-05-20
Bugfix and Enhancements
Bugfix: check params for REST publish API (#1599)
Upgrade the mongodb library to v3.0.5
esockd
Bugfix: proxy protocol - set socket to binary mode (#78)
2.3.8 版本
发布日期: 2018-05-11
Bugfix and Enhancements
Bugfix: unregister users CLI when unload emq_auth_username (#1588)
Bugfix: Should be an info level when change CleanSession (#1590)
Bugfix: emqttd_ctl crashed when emq_auth_usename doesn’t exist (#1588)
emq-auth-mongo
Improve: Support authentication database (authSource) (#116)
2.3.7 版本
发布日期: 2018-04-22
Bugfix and Enhancements
Bugfix: fixed spec of function setstats/3 (#1575)
Bugfix: clean dead persistent session on connect (#1575)
Bugfix: dup flag not set when re-deliver (#1575)
Bugfix: Upgrade the lager_console_backend config (#1575)
Improve: Support set k8s namespace (#1575)
Upgrade the ekka library to v0.2.3 (#1575)
Improve: move PIPE_DIR dir from /tmp/${WHOAMI}_erl_pipes/$NAME/ to /$RUNNER_DATA_DIR/${WHOAMI}_erl_pipes/$NAME/ (emq-relx#188)
emq-auth-http
Improve: Retry 3 times when httpc:request occurred socket_closed_remotely error (emq-auth-http#70)
2.3.6 版本
发布日期: 2018-03-25
Bugfix and Enhancements
Security: LWT message checking the ACL (#1524)
Bugfix: Retain msgs should not be sent to existing subscriptions (#1529)
emq-auth-jwt
Validate JWT token using a expired field (#29)
2.3.5 版本
发布日期: 2018-03-03
Bugfix and Enhancements
Feature: Add etc/ssl_dist.conf file for erlang SSL distribution (emq-relx#178)
Feature: Add node.ssl_dist_optfile option and etc/ssl_dist.conf file (#1512)
Feature: Support Erlang Distribution over TLS (#1512)
Improve: Tune off the ‘tune_buffer’ option for external MQTT connections (#1512)
emq-sn
Clean registered topics if mqtt-sn client send a 2nd CONNECT in connected state (#76)
Upgrade the esockd library to v5.2.1 (#76)
emq-auth-http
Remove ‘password’ param from ACL and superuser requests (#66)
2.3.4 版本
发布日期: 2018-01-29
Bugfix and Enhancements
Feature: Forward real client IP using a reverse proxy for websocket (#1335)
Feature: EMQ node.name with link local ipv6 address not responding to ping (#1460)
Feature: Add PROTO_DIST_ARG flag to support clustering via IPv6 address. (#1460)
Bugfix: retain bit is not set when publishing to clients (when it should be set). (#1461)
Bugfix: Can’t search topic on web dashboard (#1473)
emq-sn
Bugfix: CONNACK is not always sent to the client (emq-sn#67)
Bugfix: Setting the port to ::1:2000 causes error (emq-sn#66)
2.3.3 版本
发布日期: 2018-01-08
Bugfix and Enhancements
Add a full documentation for emq.conf and plugins.
Repair a dead link in README - missing emq-lwm2m. (#1430)
Subscriber with wildcard topic does not receive retained messages with sub topic has $ sign (#1398)
Web Interface with NGINX Reverse Proxy not working. (#953)
emq-dashboard
Add dashboard.default_user.login, dashboard.default_user.password options to support configuring default admin.
emq-modules
The emq-modules rewrite config is not right. (#35)
emq-docker
Upgrade alpine to 3.7 (#31)
emq-packages
Support ARM Platform (#12)
2.3.2 版本
发布日期: 2017-12-26
Bugfix and Enhancements
Support X.509 certificate based authentication (#1388)
Add proxy_protocol, proxy_protocol_timeout options for ws/wss listener.
Cluster discovery etcd nodes key must be created manually. (#1402)
Will read an incorrect password at the last line of emq_auth_username.conf (#1372)
How can I use SSL/TLS certificate based client authentication? (#794)
Upgrade the esockd library to v5.2.
esockd
Improve the parser of proxy protocol v2.
Add ‘send_timeout’, ‘send_timeout_close’ options.
Rename esockd_transport:port_command/2 function to async_send/2.
Add test case for esockd_transport:async_send/2 function.
Add esockd_transport:peer_cert_subject/1, peer_cert_common_name/1 functions.
emq-auth-mysql
Update depends on emqtt/mysql-otp.
Fixed the issue that Cannot connect to MySQL 5.7 (#67).
emq-relx
Fix mergeconf/3 appending line break error. (#152)
emq-sn
Fix crash in emq_sn_gateway:transform() function which handles SUBACK. (#57)
Define macro SN_RC_MQTT_FAILURE. (#59)
emq-web-hook
Filter auth_failure client for disconnected hook. (#30)
2.3.1 版本
发布日期: 2017-12-03
Bugfix and Enhancements
Remove the unnecessary transactions to optimize session management.
Should not exit arbitrarily when clientid conflicts in mnesia.
Change the default value of ‘mqtt.session.enable_stats’ to ‘on’.
The DUP flag should be set to 0 for all QoS0 messages. (emqttd#1319)
Fix the ‘no function clause’ exception. (emqttd#1293)
The retained flags should be propagated for bridge. (emqttd#1293)
The management API should listen on 0.0.0.0:8080. (emqttd#1353)
Fast close the invalid websocket in init/1 function.
erlang:demonitor/1 the reference when erasing a monitor. (emqttd#1340)
emq-retainer
Don’t clean the retain flag after the retained message is stored.
Add three CLIs for the retainer plugin. (emq-retainer#38)
emq-dashboard
Refactor(priv/www): improve the routing page. (emq-dashboard#185)
emq-modules
Turn off the subscription module by default. (emq-modules#26)
emq-sn
Add an integration test case for sleeping device.
Do not send will topic if client is kicked out.
Prevent crash information in log when emq_sn_gateway getting timeout, since it is a possible procedure.
emq-relx
Support node cookie value with \= characters. (emq-relx#146)
mochiweb
Improve Req:get(peername) funciton to support x-forwarded-for and x-remote-port. (emqtt/mochiweb#9)
2.3.0 版本 “Passenger’s Log”
发布日期: 2017-11-20
EMQ 2.3.0 版本正式发布,改进了 PubSub 设计与消息路由性能,更新 EMQ 自带的自签名 SSL 证书,改进 Dashboard 界面与 API 设计。
Bugfix and Enhancements
Fix the issue that Retained message is not sent for Subscribe to existing topic. (emqttd#1314)
Fix the issue that The DUP flag MUST be set to 0 for all QoS0 messages.(emqttd#1319)
Improve the pubsub design and fix the race-condition issue. (emqttd#PR1342)
Crash on macOS High Sierra (emqttd#1297)
emq-dashboard Plugin (emq-dashboard#PR174)
Upgraded the ‘subscriptions’ RESTful API.
Improvement of the auth failure log. (emq-dashboard#59)
emq-coap Plugin (emq-coap#PR61)
Replaced coap_client with er_coap_client.
Fix: correct the output format of coap_discover() to enable “.well-known/core”.
Refactor the coap_discover method.
emq-relx
Upgraded the bin/nodetool script to fix the rpcterms command.
emq-web-hook Plugin
Fix the emq_web_hook plugin getting username from client.connected hook. (emq-web-hook#19)
emq-auth-jwt Plugin(emq-auth-jwt#PR15)
Added test cases for emq_auth_jwt.
Fix jwt:decode/2 functions’s return type.
emq-auth-mongo Plugin(emq-auth-mongo#PR92)
Updated the default MongoDB server configuration.
2.3-rc.2 版本
发布日期: 2017-10-22
Change the default logging level of trace CLI. (emqttd#1306)
emq-dashboard Plugin (emq-dashboard#164)
Fix the ‘Status’ filters of plugins’s management.
Fix the URL Redirection when deleting an user.
Compatible with IE,Safari,360 Browsers.
2.3-rc.1 版本
发布日期: 2017-10-12
Fix the issue that invalid clients can publish will message. (emqttd#1230)
Fix Dashboard showing no stats data (emqttd#1263)
Fix a rare occurred building failure (emqttd#1284)
Support Persistence Logs for longer time (emqttd#1275)
Fix for users APIs (emqttd#1289)
Changed passwd_hash/2 function’s return type (emqttd#1289)
emq-dashboard Plugin (emq-dashboard#154)
Improved the Dashboard Interface of Monitoring/Management/Tools.
Allow switching dashboard themes.
Supoort both EN and CN languages.
2.3-beta.4 版本
发布日期: 2017-09-13
Highlights
Released a new sexy dashboard.
Add more RESTful APIs for manangement and monitoring.
Configuring the broker through CLI or API without having to restart.
Bugfix
Job for emqttd.service failed because the control process exited with error code. (emqttd#1238)
Travis-CI Build Failing (emqttd#1221)
Https listener of Dashboard plugin won’t work (emqttd#1220)
Service not starting on Debian 8 Jessie (emqttd#1228)
emq-dashboard
-
Support switching to other clustered node.
-
Configure and reboot the plugins on the dashboard.
-
A login page to replace the basic authentication popup window.
emq-coap
1.Try to clarify the relationship between coap and mqtt in EMQ. (emq-coap#54).
2.Fix crashes in coap concurrent test(gen-coap#3).
2.3-beta.3 版本
发布日期: 2017-08-21
2.3-beta.3 版本
发布日期: 2017-08-21
Enhancements
Add HTTP API for hot configuration.
Bugfix
-
Parse ‘auth.mysql.password_hash’ error when hot configuration reload (emq-auth-mysql#68)
-
Set ‘auth.pgsql.server’ error when hot configuration reload (emq-auth-pgsql#67)
-
Set ‘auth.redis.server’ and ‘auth.redis.password_hash’ error when hot configuration reload (emq-auth-redis#47)
-
Fix the issue that when deleting retained message subscribed clients are not notified (emqttd#1207)
-
Support more parameters for hot configuration reload:
-
mqtt.websocket_protocol_header = on
-
mqtt.mqueue.low_watermark = 20%
-
mqtt.mqueue.high_watermark = 60%
-
mqtt.client.idle_timeout = 30s
-
mqtt.client.enable_stats = off
2.3-beta.2 版本
发布日期: 2017-08-12
EMQ R2.3-beta.2 版本发布!该版本新增 HTTP 管理 API,支持配置 Keepalive 检测周期,支持配置参数热更新。
目前支持配置热更新的插件有:
-
emq-stomp
-
emq-coap
-
emq-sn
-
emq-lwm2m
-
emq-retainer
-
emq-recon
-
emq-web-hook
-
emq-auth-jwt
-
emq-auth-http
-
emq-auth-mongo
-
emq-auth-mysql
-
emq-auth-pgsql
-
emq-auth-redis
注解
为支持命令行更新配置参数,部分认证插件参数值采用’,’替代了空格分隔符。
Enhancements
-
Introduce new HTTP management API.
-
Add ClientId parameter for HTTP Publish API.
-
Allow configuring keepalive backoff.
-
Remove the fullsweep_after option to lower CPU usage.
-
Authorize HTTP Publish API with clientId.
emq-sn Plugin (emq-sn#49)
-
Support CONNECT message in connected/wait_for_will_topic/wait_for_will_msg states.
-
Clean registered topic for a restarted client.
-
Bug fix of not clearing buffered PUBLISH messages received during asleep state as those messages are sent to client when client wakes up.
emq-auth-ldap Plugin (emq-auth-ldap#21)
Improve the design LDAP authentication.
emq-coap Plugin (emq-coap#51)
Support CoAP PubSub Specification (<https://www.ietf.org/id/draft-ietf-core-coap-pubsub-02.txt>)
2.3-beta.1 版本
发布日期: 2017-07-24
EMQ R2.3-beta.1版本发布!该版本正式支持集群节点自动发现与集群脑裂自动愈合,支持基于IP Multicast、Etcd、Kubernetes等多种策略自动构建集群。
节点发现与自动集群
EMQ R2.3 版本支持多种策略的节点自动发现与集群:
| 策略 | 说明 |
|---|---|
| static | 静态节点列表自动集群 |
| mcast | UDP组播方式自动集群 |
| dns | DNS A记录自动集群 |
| etcd | 通过etcd自动集群 |
| k8s | Kubernetes服务自动集群 |
集群脑裂与自动愈合
EMQ R2.3版本正式支持集群脑裂自动愈合(Network Partition Autoheal):
cluster.autoheal = on
集群脑裂自动恢复流程:
-
节点收到Mnesia库的’inconsistent_database’事件3秒后进行集群脑裂确认;
-
节点确认集群脑裂发生后,向Leader节点(集群中最早启动节点)上报脑裂消息;
-
Leader节点延迟一段时间后,在全部节点在线状态下创建脑裂视图(SplitView);
-
Leader节点在多数派(Majority)分区选择集群自愈的Coordinator节点;
-
Coordinator节点重启少数派(minority)分区节点恢复集群。
节点宕机与自动清除
EMQ R2.3版本支持从集群自动删除宕机节点(Autoclean):
cluster.autoclean = 5m
LWM2M协议支持
EMQ R2.3 版本正式支持LWM2M协议网关,实现了LWM2M协议的大部分功能。MQTT客户端可以通过EMQ-LWM2M访问支持LWM2M的设备。设备也可以往EMQ-LWM2M上报notification,为EMQ后端的服务采集数据。
LWM2M是由Open Mobile Alliance(OMA)定义的一套适用于物联网的协议,它提供了设备管理和通讯的功能。LWM2M使用CoAP作为底层的传输协议,承载在UDP或者SMS上
JSON Web Token认证支持
EMQ R2.3 版本支持基于JWT(JSON Web Token)的MQTT客户端认证。
Retainer插件
Retainer插件支持’disc_only’模式存储retained消息。
Debian 9 安装包
EMQ R2.3 支持Debian 9系统安装包。
Erlang/OTP R20
EMQ R2.3 版本兼容Erlang/OTP R20,全部程序包基于Erlang/OTP R20构建。
2.2 正式版 “Nostalgia”
发布日期: 2017-07-08
版本别名: Nostalgia
EMQ-2.2.0版本正式发布!EMQ R2.2版本完整支持CoAP(RFC 7252)、MQTT-SN协议,支持Web Hook、Lua Hook、Proxy Protocol V2,支持Elixir语言插件开发。
Feature: Add ‘listeners restart/stop’ CLI command (emqttd#1135)
Bugfix: Exit Code from emqttd_ctl (emqttd#1133)
Bugfix: Fix spec errors found by dialyzer (emqttd#1136)
Bugfix: Catch exceptions thrown from rpc:call/4 (emq-dashboard#128)
Bugfix: Topic has been decoded by gen-coap, no conversion needed (emq-coap#43)
2.2-rc.2 版本
发布日期: 2017-07-03
警告
2.2-rc.2版本源码编译需要Erlang/OTP R19.3+
问题与改进
Compatible with Erlang/OTP R20 (emq-relx#77)
CoAP gateway plugin supports coap-style publish & subscribe pattern. (emq_coap#33)
MQTT-SN gateway plugin supports sleeping device (emq_sn#32)
Upgrade esockd and mochiweb libraries to support restarting a listener
2.2-rc.1 版本
发布日期: 2017-06-14
问题与改进
Add a new listener for HTTP REST API (emqttd#1094)
Fix the race condition issue caused by unregister_session/1 (emqttd#1096)
Fix the issue that we cannot remove a down node from the cluster (emqttd#1100)
Passed org.eclipse.paho.mqtt_sn.testing/interoperability tests (emq_sn#29)
Fix the issue that send http request and return non-200 status code, but AUTH/ACL result is denied (emq-auth-http#33)
Fix the issue that fail to stop listener (emq_stomp#24)
Support using systemctl to manage emqttd service on CentOS
2.2-beta.3 版本
发布日期: 2017-05-27
问题与改进
Call emit_stats when force GC (emqttd#1071)
Update the default value of ‘mqtt.mqueue.max_length’ to 1000 (emqttd#1074)
Update emq-auth-mongo READEME (emq-auth-mongo#66)
Update default password field (emq-auth-mongo#67)
Upgrade the mongodb library to v3.0.3
Remove ‘check password===undefined && userName!== undefined’ (emq-dashboard#120)
emq_auth_redis插件
认证支持HGET查询
emq_auth_mongo插件
支持mongodb集群、Replica Set
文档更新
更新Windows源码编译安装
2.2-beta.2 版本
发布日期: 2017-05-20
问题与改进
Add a ‘websocket_protocol_header’ option to handle WebSocket connection from WeChat (emqttd#1060)
Assign username and password to MQTT-SN’s CONNECT message (emqttd#1041)
Allow for Content-Type:application/json in HTTP Publish API (emqttd#1045)
emqttd_http.erl:data conversion (emqttd#1059)
Seperate emq_sn from emqttd (emq-sn#24)
Check St0’s type, making it easier to debug crash problems (emq-lua-hook#6)
Fix error: load xxx.lua (emq-lua-hook#8)
Leave luerl alone as a rebar project (emq-lue-hook#9)
Display websocket data in reverse order (emq-dashboard#118)
priv/www/assets/js/dashboard.js:Fixed a typo (emq-dashboard#118)
Update README
Update README of emq-auth-pgsql: add the ‘ssl_opts’ configuration (emq-auth-pgsql#56)
Update README of emq-auth-mysql: fix the ‘passwd_hash’ typo (emq-auth-mysql#54)
Update README of emq-auth-mongo: change ‘aclquery’ to ‘acl_query’ (emq-auth-mongo#63)
Elixir Plugin
Add a new plugin emq-elixir-plugin to support Elixir language.
2.2-beta.1 版本
发布日期: 2017-05-05
EMQ 2.2-beta.1版本正式发布!EMQ2.2 版本发布主要新功能包括:
-
支持MQTT协议多监听器配置,支持HAProxy的Proxy Protocol V1/V2
-
新增Web Hook插件(emq-web-hook)、Lua Hook插件(emq-lua-hook)
MQTT协议监听器配置
一个EMQ节点可配置多个MQTT协议监听端口,例如下述配置external, internal监听器,分别用于设备连接与内部通信:
-------
-- Ex,支持Web Hook、Lua Hook、ernal TCP 1883 --> | |
| EMQ | -- Internal TCP 2883 --> Service
-- External SSL 8883--> | |
-------
EMQ 2.2 版本etc/emq.conf监听器配置方式:
listener.tcp.${name}= 127.0.0.1:2883
listener.tcp.${name}.acceptors = 16
listener.tcp.${name}.max_clients = 102400
Proxy Protocol V1/2支持
EMQ 集群通常部署在负载均衡器(LB)后面,典型架构:
-----
| |
| L | --TCP 1883--> EMQ
--SSL 8883--> | | |
| B | --TCP 1883--> EMQ
| |
-----
HAProxy、NGINX等常用的负载均衡器(LB),一般通过Proxy Protocol协议传递TCP连接源地址、源端口给EMQ。
EMQ 2.2 版本的监听器开启Proxy Protocol支持:
## Proxy Protocol V1/2
## listener.tcp.${name}.proxy_protocol = on
## listener.tcp.${name}.proxy_protocol_timeout = 3s
Web Hook插件
新增WebHook插件: emq-web-hook ,支持在MQTT客户端上下线、消息发布订阅时触发WebHook回调。
Lua Hook插件
新增Lua Hook插件: emq-lua-hook ,支持Lua脚本注册EMQ扩展钩子来开发插件。
改进认证链设计
EMQ 2.2 版本改进认证链设计,当前认证模块返回ignore(例如用户名不存在等情况下),认证请求将继续转发后面认证模块:
------------- ------------ -------------
Client --> | Redis认证 | -ignore-> | HTTP认证 | -ignore-> | MySQL认证 |
------------- ------------ -------------
| | |
\|/ \|/ \|/
allow | deny allow | deny allow | deny
支持bcrypt密码Hash
EMQ 2.2 版本支持bcrypt密码Hash方式,例如Redis认证插件配置:
auth.redis.password_hash = bcrypt
etc/emq.conf配置变更
‘mqtt.queue.’ 配置变更为 ‘mqtt.mqueue.’
emq-dashboard
WebSocket页面支持Unsubscribe
2.1.2 版本
发布日期: 2017-04-21
Fix emqttd_ctl sessions list CLI
Newline character in emq.conf causing error;(emqttd#1000)
Fix crash caused by duplicated PUBREC packet (emqttd#1004)
Unload the ‘session.created’ and ‘session.teminated’ hooks (emq-plugin-template)
2.1.1 版本
发布日期: 2017-04-14
Localhost:8083/status returns 404 when AWS LB check the health of EMQ (emqttd#984)
Https listener not working in 2.1.0 as in 2.0.7 (emq-dashboard#105)
Fix mqtt-sn Gateway not working (emq-sn#12)
Upgrade emq-sn Plugin (emq-sn#11)
Upgrade emq-coap Plugin (emq-coap#21)
2.1.0 版本
发布日期: 2017-04-07
The stable release of 2.1 version.
Trouble with auth.mysql.acl_query (emq-auth-mysql#38)
Filter the empty fields in ACL table (emq-auth-mysql#39)
2.1.0-rc.2 版本
发布日期: 2017-03-31
Support pbkdf2 hash (emq-auth-mongo#46)
Kickout the conflict WebSocket connection (emqttd#963)
Correct licence in app.src (emqttd#958)
SSL options to connect to pgsql (emq-auth-pgsql#41)
2.1.0-rc.1 版本
发布日期: 2017-03-24
EMQ fails to start if run under a different linux user than that which first ran it (emqttd#842)
Depend on emqtt/pbkdf2 to fix the building errors of Travis CI (emqttd#957)
Depend on goldrush and emqtt/pbkdf2 to resolve the building errors (emqttd#956)
Fix ‘rebar command not found’ (emq-relx#33)
Compile error in v2.1.0-beta.2 (emq-relx#32)
Support salt with passwords (emq-auth-mongo#11)
Change the default storage_type to ‘ram’ (emq-retainer#13)
2.1.0-beta.2 版本
发布日期: 2017-03-13
Cannot find AwaitingAck (emqttd#597)
EMQ V2.1 crash when public with QoS = 2 (emqttd#919)
Support pbkdf2 hash (emqttd#940)
Add src/emqttd.app.src to be compatible with rebar3 (emqttd#920)
Add more test cases (emqttd#944)
CRASH REPORT Process <0.1498.0> with 0 neighbours crashed with reason: {ssl_error,{tls_alert,”certificate unknown”}} in esockd_connection:upgrade (emqttd#915)
‘auth.redis.password_hash = plain’ by default (emq-auth-redis#20)
2.1.0-beta.1 版本
发布日期: 2017-02-24
EMQ 2.1.0-beta.1版本发布。
警告
2.1.x版本源码编译需要Erlang/OTP R19+
EMQ正式采用 Semantic Versioning 2.0.0<http://semver.org>_ 规范创建发布版本号,按’Tick-Tock’方式按月发布迭代版本。奇数版本问题修复与性能改进,偶数版本架构改进和新功能布。
GC优化
-
WebSocket、Client、Session进程空置一段时间后自动Hibernate与GC。
-
新增’mqtt.conn.force_gc_count’配置,Client、Session进程处理一定数量消息后强制GC。
-
大幅降低WebSocket、Client、Session进程fullsweep_after设置,强制进程深度GC。
API改进
Hooks API支持注册带Tag的回调函数,解决相同模块函数多次Hook注册问题。
问题修复
emqttd#916: Add ‘mqtt_msg_from()’ type
emq-auth-http#15: ACL endpoint isnt called
2.1-beta 版本
发布日期: 2017-02-18
EMQ v2.1-beta版本正式发布,改进Session/Inflight窗口设计,一个定时器负责全部Inflight QoS1/2消息重传,大幅降低高消息吞吐情况下的CPU占用。
Client, Session统计信息
支持对单个Client、Session进程进行统计,etc/emq.conf配置文件中设置’enable_stats’开启:
mqtt.client.enable_stats = 60s
mqtt.session.enable_stats = 60s
新增missed统计指标
EMQ收到客户端PUBACK、PUBREC、PUBREL、PUBCOMP报文,但在Inflight窗口无法找到对应消息时,计入missed统计指标:
packets/puback/missed
packets/pubrec/missed
packets/pubrel/missed
packets/pubcomp/missed
Syslog日志集成
支持输出EMQ日志到Syslog,etc/emq.config配置项:
## Syslog. Enum: on, off
log.syslog = on
## syslog level. Enum: debug, info, notice, warning, error, critical, alert, emergency
log.syslog.level = error
Tune QoS支持
支持订阅端升级QoS,etc/emq.conf配置项:
mqtt.session.upgrade_qos = on
‘acl reload’管理命令
Reload acl.conf without restarting emqttd service (#885)
配置项变更
-
变更 mqtt.client_idle_timeout 为 mqtt.client.idle_timeout
-
新增 mqtt.client.enable_stats 配置项
-
新增 mqtt.session.upgrade_qos 配置项
-
删除 mqtt.session.collect_interval 配置项
-
新增 mqtt.session.enable_stats 配置项
-
变更 mqtt.session.expired_after 为 mqtt.session.expiry_interval
合并扩展模块到emq_modules项目
合并emq_mod_presence, emq_mod_subscription, emq_mod_rewrite到emq_modules项目
变更emq_mod_retainer为emq_retainer项目
Dashboard插件
Overview页面增加missed相关统计指标。 Client页面增加SendMsg、RecvMsg统计指标。 Session页面增加DeliverMsg、EnqueueMsg指标。
recon插件
变更recon.gc_interval配置项类型为duration
reloader插件
变更reloader.interval配置项类型为duration
2.0.7 版本
发布日期: 2017-01-20
The Last Maintenance Release for EMQ 2.0, and support to build RPM/DEB Packages.
emq-auth-http#9: Update the priv/emq_auth_http.schema, cuttlefish:unset() if no super_req/acl_req config exists
emq-auth-mongo#31: cuttlefish:unset() if no ACL/super config exists
emq-dashboard#91: Fix the exception caused by binary payload
emq-relx#21: Improve the binemqttd.cmd batch script for windows
emqttd#873: Documentation: installing-from-source
emqttd#870: Documentation: The word in Documents is wrong
emqttd#864: Hook ‘client.unsubscribe’ need to handle ‘stop’
emqttd#856: Support variables in etc/emq.conf: {{ runner_etc_dir }}, {{ runner_etc_dir }}, {{ runner_data_dir }}
2.0.6 版本
发布日期: 2017-01-08
Upgrade the esockd library to v4.1.1
esockd#41: Fast close the TCP socket if ssl:ssl_accept failed
emq-relx#15: The EMQ 2.0 broker cannot run on Windows.
emq-auth-mongo#31: Mongodb ACL Cannot work?
2.0.5 版本
发布日期: 2016-12-24
emq-auth-http#9: Disable ACL support
emq-auth-mongo#29: Disable ACL support
emq-auth-mongo#30: {datatype, flag}
2.0.4 版本
发布日期: 2016-12-16
emqttd#822: Test cases for SSL connections
emqttd#818: trap_exit to link WebSocket process
emqttd#799: Can’t publish via HTTPS
2.0.3 版本
发布日期: 2016-12-12
emqttd#796: Unable to forbidden tcp lisener
emqttd#814: Cannot remove a ‘DOWN’ node from the cluster
emqttd#813: Change parameters order
emqttd#795: Fix metrics of websocket connections
emq-dashboard#88: Rename the default topic from “/World” to “world”
emq-dashboard#86: Lookup all online clients
emq-dashboard#85: Comment the default listener port
emq-mod-retainer#3: Retained messages get lost after EMQTT broker restart.
2.0.2 版本
发布日期: 2016-12-05
emqttd#787: Stop plugins before the broker stopped, clean routes when a node down
emqttd#790: Unable to start emqttd service if username/password contains special characters
emq-auth-clientid#4: Improve the configuration of emq_auth_clientid.conf to resolve emqttd#790
emq-auth-username#4: Improve the configuration of emq_auth_username.conf to resolve emqttd#790
2.0.1 版本
发布日期: 2016-11-30
emqttd#781: 更新项目README到2.0版本
emq_dashboard#84: 显示节点集群状态
emq_dashboard#79: 集群节点采用disc_copies存储mqtt_admin表
emq_auth_clientid: 集群节点采用disc_copies存储mqtt_auth_clientid表
emq_auth_username: 集群节点采用disc_copies存储mqtt_auth_username表
emq_mod_subscription#3: 删除emq_mod_subscription表与module.subscription.backend配置
emq_plugin_template#5: 插件停止时注销认证/ACL模块
2.0 正式版 “西湖以西”
发布日期: 2016-11-24
版本别名: 西湖以西(West of West Lake)
EMQ-2.0版本正式发布!EMQ-1.0版本产品环境下已支持900K并发连接,EMQ-2.0版本重构了整个项目架构并正式支持共享订阅功能:
-
支持共享订阅(Shared Subscription)与本地订阅(Local Subscription),解决MQTT协议负载平衡消费问题;
-
支持CoAP(RFC 7252)、MQTT-SN协议和网关,支持CoAP、MQTT-SN客户端与MQTT客户端互通;
-
重构配置文件格式与加载方式,支持用户友好的’K = V’文件格式,支持操作系统环境变量;
-
增加了扩展钩子和大量的认证插件,支持与大部分数据库或NoSQL的认证集成;
-
支持全平台编译部署,Linux/Unix/Windows以及ARM平台网关,支持Docker镜像制作。
共享订阅(Shared Subscription)
共享订阅(Shared Subscription)支持在多订阅者间采用分组负载平衡方式派发消息:
---------
| | --Msg1--> Subscriber1
Publisher--Msg1,Msg2,Msg3-->| EMQ | --Msg2--> Subscriber2
| | --Msg3--> Subscriber3
---------
使用方式: 订阅者在主题(Topic)前增加’$queue’或’$share/<group>/’前缀。
本地订阅(Local Subscription)
本地订阅(Local Subscription)只在本节点创建订阅与路由表,不会在集群节点间广播全局路由,非常适合物联网数据采集应用。
使用方式: 订阅者在主题(Topic)前增加’$local/’前缀。
erlang.mk与relx
2.0版本分离 emqttd 主项目和发布项目 emq-relx, 采用 erlang.mk 和 relx 编译发布工具替换1.x版本使用的rebar,项目可以跨平台在Linux/Unix/Windows系统下编译。
CoAP协议支持
2.0版本支持CoAP协议(RFC7252),支持CoAP网关与MQTT客户端互通。
CoAP插件: <https://github.com/emqtt/emq_coap>
MQTT-SN协议支持
2.0版本支持MQTT-SN协议,支持MQTT-SN网关与MQTT客户端互通。
MQTT-SN插件: <https://github.com/emqtt/emq_sn>
‘K = V’格式配置文件
2.0版本支持用户友好的’K = V’格式配置文件etc/emq.conf:
node.name = emqttd@127.0.0.1
...
mqtt.listener.tcp = 1883
...
操作系统环境变量
2.0版本支持操作系统环境变量。启动时通过环境变量设置EMQ节点名称、安全Cookie以及TCP端口号:
EMQ_NODE_NAME=emqttd@127.0.0.1
EMQ_NODE_COOKIE=emq_dist_cookie
EMQ_MAX_PORTS=65536
EMQ_TCP_PORT=1883
EMQ_SSL_PORT=8883
EMQ_HTTP_PORT=8083
EMQ_HTTPS_PORT=8084
Docker镜像支持
EMQ-2.0版本支持Docker镜像制作,Dockerfile开源在: <https://github.com/emqtt/emq_docker>
Windows平台支持
2.0版本完整支持Windows平台的编译、发布与运行,支持Windows平台下的’emqttd_ctl’控制命令,支持在Windows节点间的集群。
问题与改进
764: add mqtt.cache_acl option
667: Configuring emqttd from environment variables
722: mqtt/superuser calls two times emqtt_auth_http
754: “-heart” option for EMQ 2.0
741: emq_auth_redis cannot use hostname as server address
扩展插件
2.0版本发布的认证与扩展插件列表:
| 插件 | 说明 |
|---|---|
| emq_dashboard | Web控制台插件(默认加载) |
| emq_auth_clientid | ClientId认证插件 |
| emq_auth_username | 用户名、密码认证插件 |
| emq_auth_ldap | LDAP认证/访问控制 |
| emq_auth_http | HTTP认证/访问控制 |
| emq_auth_mysql | MySQL认证/访问控制 |
| emq_auth_pgsql | PostgreSQL认证/访问控制 |
| emq_auth_redis | Redis认证/访问控制 |
| emq_auth_mongo | MongoDB认证/访问控制 |
| emq_mod_rewrite | 重写主题(Topic)插件 |
| emq_mod_retainer | Retain消息存储模块 |
| emq_mod_presence | 客户端上下线状态消息发布 |
| emq_mod_subscription | 客户端上线自动主题订阅 |
| emq_coap | CoAP协议支持 |
| emq_sn | MQTT-SN协议支持 |
| emq_stomp | Stomp协议支持 |
| emq_sockjs | Stomp over SockJS协议支持 |
| emq_recon | Recon性能调试 |
| emq_reloader | Reloader代码热加载插件 |
| emq_plugin_template | 插件开发模版 |
2.0-rc.3 版本
2.0-rc.3 版本
发布日期: 2016-11-01
- 将Presence、Retainer、Subscription三个扩展模块改为独立插件:
| emq_mod_retainer | Retain消息存储模块 |
|---|---|
| emq_mod_presence | 客户端上下线状态消息发布 |
| emq_mod_subscription | 客户端上线自动主题订阅 |
-
更新EMQ自带的自签名SSL证书,修复SSL双向认证配置文件错误
-
Bugfix: Fixed a typo (#716)
-
Bugfix: emqttd_http can not use emq_auth_http? #739
-
Bugfix: emq_auth_redis cannot use hostname as server address (#741)
-
升级Redis, MySQL, Postgre, MongoDB插件,支持主机名或域名配置
2.0-rc.2 版本
发布日期: 2016-10-19
- 集成cuttlefish库,支持’K = V’通用配置文件格式,重构EMQ与全部插件配置文件:
node.name = emqttd@127.0.0.1
...
mqtt.listener.tcp = 1883
...
- 支持操作系统环境变量。启动时通过环境变量设置EMQ节点名称、Cookie以及TCP端口号:
EMQ_NODE_NAME
EMQ_NODE_COOKIE
EMQ_MAX_PORTS
EMQ_TCP_PORT
EMQ_SSL_PORT
EMQ_HTTP_PORT
EMQ_HTTPS_PORT
- 重构认证模块、ACL模块与扩展模块,更新全部插件项目名称以及配置文件。
TODO: issues closed.
2.0-rc.1 版本
发布日期: 2016-10-03
-
超级用户认证成功后,发布订阅时不进行ACL鉴权 (#696)
-
MQTT客户端认证失败后,EMQ服务器主动关闭TCP连接 (#707)
-
改进插件管理设计,新增插件无需修改rel/sys.config配置
-
改进全部插件Makefile的emqttd依赖:
BUILD_DEPS = emqttd
dep_emqttd = git https://github.com/emqtt/emqttd emq20
- 重新设计Redis插件的ACL鉴权模块
2.0-beta.3 版本
发布日期: 2016-09-18
共享订阅(Shared Subscription)
Shared Suscriptions (#639, #416):
mosquitto_sub -t '$queue/topic'
mosquitto_sub -t '$share/group/topic'
本地订阅(Local Subscription)
Local Subscriptions that will not create global routes:
mosquitto_sub -t '$local/topic'
问题修复
Error on Loading emqttd_auth_http (#691)
Remove ‘emqttd’ application from dependencies (emqttd_coap PR#3)
2.0-beta.2 版本
发布日期: 2016-09-10
CoAP协议支持
CoAP协议支持插件(Beta): <https://github.com/emqtt/emqttd_coap>
API Breaking Changes
‘$u’, ‘$c’ variables in emqttd.conf and modules/acl.conf changed to ‘%u’, ‘%c’
Improve the design of mqtt retained message, replace emqttd_retainer with emqttd_mod_retainer.
Add ‘session.subscribed’, ‘session.unsubscribed’ hooks, remove ‘client.subscribe.after’ hook
Tab ‘retained_message’ -> ‘mqtt_retained’
Bugfix
[2.0 beta1] FORMAT ERROR: “~s PUBLISH to ~s: ~p” (PR #671)
Fixing issues in cluster mode. (PR #681)
Fixing issues with unsubscribe hook (PR #673)
2.0-beta.1 版本
发布日期: 2016-08-30
版本别名: 西湖以西(West of West Lake)
EMQ 2.0-beta1预览版本(Preview Release)发布。EMQ 2.0版本改进了项目结构、发布方式、Git分支结构以及配置文件格式,以奠定EMQ消息服务器项目长期演进基础。
注解
1.x版本产品部署用户请勿升级到该版本,2.0正式版本发布前会有API变更。
项目简称 - EMQ
项目简称变更为EMQ(Erlang/Enterprise/Elastic MQTT Broker),E含义Erlang/OTP平台、企业(Enterprise)、弹性(Elastic)。
项目发布方式
2.0 版本后采用预览版(Preview Release) + 候选版本(Release Candidate)版本方式迭代发布,2.0版本将陆续发布beta1, beta2, beta3, rc1, rc2等迭代,直到2.0正式版本发布。
应用与发布
2.0 版本后 emqttd 项目只包括消息服务器应用源码,分离发布(rel)为独立项目: emqttd_relx ,以解决1.0版本的插件(plugins)与emqttd应用编译依赖问题。
源码编译请clone emqttd_relx:
git clone https://github.com/emqtt/emqttd-relx.git
cd emqttd-relx && make
cd _rel/emqttd && ./bin/emqttd console
erlang.mk与relx
2.0 版本发布项目 emqttd_relx 采用 erlang.mk 和 relx 编译发布工具替换1.x版本使用的rebar。原因: <https://erlang.mk/guide/why.html>
Git分支结构
| stable | 1.x 稳定版本分支 |
|---|---|
| master | 2.x 主版本分支 |
| emq10 | 1.x 版本开发分支 |
| emq20 | 2.x 版本开发分支 |
| emq30 | 3.x 版本开发分支 |
| issue#{id} | Issue修复分支 |
etc/emqttd.conf配置文件 ———=————-
2.0 版本改进项目配置文件格式,采用rebar.config、relx.config类似格式,提高配置文件的可读性和可编辑性。
etc/emqttd.conf配置示例:
%% Max ClientId Length Allowed.
{mqtt_max_clientid_len, 512}.
%% Max Packet Size Allowed, 64K by default.
{mqtt_max_packet_size, 65536}.
%% Client Idle Timeout.
{mqtt_client_idle_timeout, 30}. % Second
MQTT-SN协议支持
2.0-beta1版本正式发布 emqttd_sn 项目支持MQTT-SN协议,插件加载方式启用emqttd_sn项目,MQTT-SN默认UDP端口: 1884:
./bin/emqttd_ctl plugins load emqttd_sn
改进插件架构
2.0 版本从emqttd项目删除plugins/目录,插件作为一个普通的Erlang应用,直接依赖(deps)方式在编译到lib目录,插件配置文件统一放置在etc/plugins/目录中:
▾ emqttd-relx/
▾ etc/
▸ modules/
▾ plugins/
emqtt_coap.conf
emqttd.conf
emqttd_auth_http.conf
emqttd_auth_mongo.conf
emqttd_auth_mysql.conf
emqttd_auth_pgsql.conf
emqttd_auth_redis.conf
emqttd_coap.conf
emqttd_dashboard.conf
emqttd_plugin_template.conf
emqttd_recon.conf
emqttd_reloader.conf
emqttd_sn.conf
emqttd_stomp.conf
2.0 版本项目文档
2.0 版本中文文档: <http://emqtt.com/docs/v2/index.html> 或 <http://docs.emqtt.cn/zh_CN/emq20>
2.0 版本英文文档: <https://developer.emqx.io/docs/emq/v2/en/index.html> 或 <http://docs.emqtt.com/>
发布订阅流程

1.1.3 版本
发布日期: 2016-08-19
Support ‘./bin/emqttd_ctl users list’ CLI (#621)
Cannot publish payloads with a size of the order 64K using WebSockets (#643)
Optimize the procedures that retrieve the Broker version and Borker description in the tick timer (PR#627)
Fix SSL certfile, keyfile config (#651)
1.1.2 版本
发布日期: 2016-06-30
Upgrade mysql-otp driver to 1.2.0 (#564, #523, #586, #596)
Fix WebSocket Client Leak (PR #612)
java.io.EOFException using paho java client (#551)
Send message from paho java client to javascript client (#552)
Compatible with the Qos0 PUBREL packet (#575)
Empty clientId with non-clean session accepted (#599)
Update docs to fix typos (#601, #607)
1.1.1 版本
发布日期: 2016-06-04
Compatible with the Qos0 PUBREL packet (#575)
phpMqtt Client Compatibility (#572)
java.io.EOFException using paho java client (#551)
1.1 版本
发布日期: 2016-06-01
1.1版本升级eSockd库到4.0,支持IPv6与监听特定IP地址。新增MongoDB认证插件、HTTP认证插件与Reloader插件。升级MySQL、PostgreSQL、Redis认证插件,采用参数化查询避免SQL注入,并支持超级用户(superuser)认证。
问题与改进
Allow human-friendly IP addresses (PR#395)
File operation error: emfile (#445)
emqttd_plugin_mongo not found in emqttd (#489)
emqttd_plugin_mongo Error While Loading in emqttd (#505)
Feature request: HTTP Authentication (#541)
Compatible with the Qos0 PUBREL packet (#575)
Bugfix: function_clause exception occurs when registering a duplicated authentication module (#542)
Bugfix: ./emqttd_top msg_q result: {“init terminating in do_boot”,{undef,[{etop,start,[],[]},{init,start_it,1,[]},{init,start_em,1,[]}]}} (#557)
Dashboard插件
WebSocket连接页面支持Clean Session, Qos, Retained参数设置 (emqttd_dashboard#52)
升级eSockd库到4.0版本,Overview页面显示OTP版本 (emqttd_dashboard#61)
Changing dashboard credentials for username authentication (emqttd_dashboard#56)
新增’./bin/emqttd_ctl admins’管理命令,支持通过命令行重新设置admin密码
HTTP认证插件
支持通过HTTP API认证/鉴权MQTT客户端: <https://github.com/emqtt/emqttd_auth_http>
MongoDB认证插件
升级Erlang Mongodb驱动到v1.0.0 (emqttd_plugin_mongo#1)
支持超级用户认证
支持基于MongoDB的ACL (emqttd_plugin_mongo#3)
MySQL认证插件
支持超级用户认证
采用参数化查询避免SQL注入
Postgre认证插件
支持超级用户认证
采用参数化查询避免SQL注入
Redis认证插件
支持超级用户认证
支持ClientId认证/ACL (emqttd_plugin_redis#4)
Reloader插件
开发调试代码热升级插件: <https://github.com/emqtt/emqttd_reloader>
1.0.2 版本
发布日期: 2016-05-04
Issue#534 - ‘./bin/emqttd_ctl vm’ - add ‘port/count’, ‘port/limit’ statistics
Issue#535 - emqttd_client should be terminated properly even if exception happened when sending data
PR#519 - The erlang ‘-name’ requires the fully qualified host name
emqttd_reloader plugin - help reload modified modules during development.
1.0.1 版本
发布日期: 2016-04-16
PR#515 - Fix ‘$queue’ pubsub, add ‘pubsub_queue’ test and update docs
1.0 (七英里) 版本
发布日期: 2016-04-13
版本别名: 七英里(The Seven Mile Journey)
经过两年开发,五十个版本迭代,我们正式发布1.0(七英里)版本,和完整的中英文项目文档。
1.0版本基本实现了设计目标: 稳定承载来自移动互联网或物联网终端的大量并发MQTT连接,并实现在大数量的终端间快速低延时的MQTT消息路由。
-
完整支持MQTT V3.1.1协议,扩展支持WebSocket、Stomp或私有TCP等多协议。
-
稳定承载大规模的并发MQTT客户端连接,单服务器节点支持50万到100万连接。
-
分布式节点集群或桥接,快速低延时的消息路由,单集群支持1000万规模的路由。
-
支持消息服务器内扩展,支持定制多种认证方式,插件方式存储消息到后端数据库。
问题与改进
1.0版本主要发布完整项目文档,相比0.17.1版本很少代码变更:
Possible race condition using emqttd_cm (#486)
Improve the design of retained message expiration (#503)
Should not expire the retained messages from $SYS/# topics (#500)
项目文档
1.0 版本中文文档: <http://emqtt.com/docs/> 或 <http://docs.emqtt.cn>
1.0 版本英文文档: <https://developer.emqx.io/docs/emq/v1/en/index.html> 或 <http://docs.emqtt.com/>
官方站点
中文站点: <http://emqtt.com>
英文站点: <https://www.emqx.io/>
致谢
爱立信与Erlang/OTP语言平台团队(<http://www.erlang.org/>)!
贡献者(GitHub帐户): @callbay @lsxredrain @hejin1026 @desoulter @turtleDeng @Hades32 @huangdan @phanimahesh @dvliman @Prots @joaohf
公司: 开源中国,鲁能电力,太极计算机,电信天翼云直播,研色科技,杭州华思
乐队: 七英里(The Seven Mile Journey),腰乐队,万能青年旅店
0.17.1-beta 版本
发布日期: 2016-03-22
Enhancements
Time unit of session ‘expired_after’ changed to minute. (#479)
Dashboard
Code Review and improve the design of Dashboard.
0.17.0-beta 版本
发布日期: 2016-03-15
Highlights
Installation and Configuration Guide released on <http://docs.emqtt.com>
Improve and Consolidate the design of Hook, Server, PubSub and Router
Upgrade the Web Dashboard to support pagination
Bridge emqttd broker to another emqttd broker & emqttd to mosquitto bridge (#438)
Enhancements
emqttd_ctl: better error message (#450)
./bin/emqttd_ctl: add ‘routes’ command
` routes list # List all routes routes show <Topic> # Show a route `
Add ‘backend_subscription’ table and support static subscriptions (emqttd_backend)
Add ‘retained_message’ table and refactor emqttd_retainer module (emqttd_backend)
A New Hook and Callback Design (emqttd_hook)
Add PubSub, Hooks APIs to emqttd module (emqttd)
Move start_listeners/0, stop_listeners/0 APIs to emqttd_app module (emqttd_app)
Tests
Add 100+ common test cases.
Plugins
Upgrade Dashboard, Redis, Stomp and Template Plugins
0.16.0-beta 版本
发布日期: 2016-02-16
Highlights
Licensed under the Apache License, Version 2.0 Now.
Improve the design of cluster, support to join or leave the cluster (#449):
` $ ./bin/emqttd_ctl cluster cluster join <Node> #Join the cluster cluster leave #Leave the cluster cluster remove <Node> #Remove the node from cluster cluster status #Cluster status `
Improve the design of Trie and Route, only the wildcard topics stored in Trie.
Common Test to replace EUnit.
Enhancements
mqtt_message record: add ‘sender’ field (#440)
refactor the emqttd, emqttd_time, emqttd_opts, emqttd_node modules.
Bugfix
noproc error when call to gen_server2:call(false, {add_route,Topic,<0.685.0>}, infinity) (#446)
Plugins
Changed the license of all plugins.
0.15.0-beta 版本
发布日期: 2016-01-31
Highlights
Optimize for Push Application, 500K+ Subscribers to a Topic.
Optimization for Route ETS insertion (#427)
Priority Message Queue for Persistent Session (#432)
Add Redis, MongoDB Plugins (#417)
Enhancements
Username/Password Authentication: Support to configure default users (#428)
Improve CLI Commands: pubsub, bridges, trace (#429)
emqttd_mod_subscription: fix client_connected/3
emqttd_auth_mod: add passwd_hash/2 function
priority_queue: add plen/2, out/2 functions
Bugfix
Fix dequeue/1 of emqttd_bridge…
Add emqttd:seed_now/0 function
Plugins
emqttd_plubin_mysql: Changed mysql driver to mysql-otp
emqttd_plugin_pgsql: Integrate with ecpool
emqttd_plugin_redis: First release
emqttd_plugin_mongo: First release
0.14.1-beta 版本
发布日期: 2015-12-28
Bugfix: emqttd_ws_client.erl: Unexpected Info: {‘EXIT’,<0.27792.18>,{shutdown,destroy}} (#413)
Improve: fix spec errors found by dialyzer
0.14.0-beta 版本
发布日期: 2015-12-18
Highlights
Scaling to 1.3 Million Concurrent MQTT Connections on a 12 Core, 32G CentOS server.
New PubSub, Router Design (#402). Prepare for scaling to 10 millions on one cluster.
Enhancements
Improve the gproc_pool usage with a general emqttd_pool_sup
Improve the design of emqttd_pubsub, add a new emqttd_router module
Improve the design of the whole supervisor tree
Route aging mechanism to remove the topics that have no subscriptions
Improve the dashboard, mysql, pgsql, stomp, sockjs plugins
Add ‘topics’, ‘subscriptions’ admin commands
Avoid using mnesia table index and mnesia:index_read API to lower CPU usage
Subscribe timeout exception (#366)
Long Delay on Multiple Topic Subscription (#365)
Subscriptions persistence (#344)
emqttd_ctl: ‘subscriptions’ command to force clients to subscribe some topics (#361)
Bugfix
emqttd_sm: spec of lookup_session/1 is not right BUG (#411)
Observer application should be removed from reltool.config for ‘wx’ app is not available (#410)
Benchmark
1.3 million concurrent MQTT connections on a 12 Core, 32G CentOS Server, consume about 15G Memory and 200% CPU.
0.13.1-beta 版本
发布日期: 2015-11-28
Bugfix: Plugin pathes error under windows (#387)
Improve: Too many error logs “[error] Session ….. Unexpected EXIT: client_pid=<0.14137.35>, exit_pid=<0.30829.22>, reason=nop…” (#383)
Improve: Define QOS0/1/2, Pooler Error (PR#382)
Improve: High CPU load when 400K unstable mobile connections (#377)
BugFix: emqttd_plugin_pgsql - error using same query with latest update plugin (pgsql#5)
0.13.0-beta 版本
发布日期: 2015-11-08
Highlights
Rate Limiting based on Token Bucket and Leaky Bucket Algorithm
Upgrade eSockd and MochiWeb libraries to support Parameterized Connection Module
Improve emqttd_client to support fully asynchronous socket networking
Enhancements
Protocol Compliant - Session Present Flag (#163)
Compilation fails if repo is cloned with a different name (#348)
emqttd_client: replace gen_tcp:send with port_command (#358)
TCP sndbuf, recbuf, buffer tuning (#359)
emqttd_client.erl to handle ‘inet_async’, ‘inet_reply’ properly (#360)
Refator the client/session management design
Bugfix
Cannot kick transient client out when clientId collision (#357)
Fix the order of emqttd_app:start_server/1 (#367)
emqttd_session:subscribe/2 will crash (#374)
Benchmark
3.1G memory and 50+ CPU/core:
Connections: 250K
Subscribers: 250K
Topics: 50K
Qos1 Messages/Sec In: 4K
Qos1 Messages/Sec Out: 20K
Traffic In(bps): 12M+
Traffic Out(bps): 56M+
0.12.3-beta 版本
发布日期: 2015-10-22
Bugfix: emqttd_sysmon crasher for ‘undefined’ process_info (#350)
Bugfix: emqttd_client: catch parser exception (#353)
0.12.2-beta 版本
发布日期: 2015-10-16
Bugfix: Retained messages should not be expired if ‘broker.retained.expired_after = 0’ (#346)
0.12.1-beta 版本
发布日期: 2015-10-15
Highlight: Release for Bugfix and Code Refactor.
Feature: Retained message expiration (#182)
Improve: ‘$SYS/#’ publish will not match ‘#’ or ‘+/#’ (#68)
Improve: Add more metrics and ignore ‘$SYS/#’ publish (#266)
Improve: emqttd_sm should be optimized for clustered nodes may be crashed (#282)
Improve: Refactor emqttd_sysmon and suppress ‘monitor’ messages (#328)
Task: benchmark for 0.12.0 release (#225)
Benchmark: About 900K concurrent connections established on a 20Core, 32G CentOS server.
0.12.0-beta 版本
发布日期: 2015-10-08
Highlights
Enhance the emqttd_ctl module to allow plugins to register new commands (#256)
Add emqttd_recon plugin to debug/optimize the broker (#235)
Add ‘./bin/emqttd_ctl broker pubsub’ command to check the status of core pubsub processes
Add ‘./bin/emqttd_top’ command(like etop) to show the top ‘msg_q’, ‘reductions’, ‘memory’ or ‘runtime’ processes
‘rel/files/emqttd.config.production’ for production deployment(default)
‘rel/files/emqttd.config.development’ for development deployment
(本文超出站点单文档体积上限,已按小节截断)
