Release Date: 2017-02-18
EMQ v2.1-beta is now available. We improved the design of Session/Inflight and use one timer to redeliver the inflight QoS1/2 messages, and improved the GC mechanism of MQTT connection process to reduce CPU usage at the high rate of messages.
Support Per Client, Session Statistics. Enable by configuration in etc/emq.conf:
mqtt.client.enable_stats = 60s
mqtt.session.enable_stats = 60s
The 'missed' metrics will be increased when EMQ broker received PUBACK, PUBREC, PUBREL, PUBCOMP packets from clients, but missing in inflight window:
packets/puback/missed
packets/pubrec/missed
packets/pubrel/missed
packets/pubcomp/missed
Output EMQ log to syslog::
## Syslog. Enum: on, off
log.syslog = on
## syslog level. Enum: debug, info, notice, warning, error, critical, alert, emergency
log.syslog.level = error
Support to upgrade QoS accoding to the subscription:
mqtt.session.upgrade_qos = on
Reload acl.conf without restarting emqttd service (#885)
Merge the emq_mod_presence, emq_mod_subscription, emq_mod_rewrite into emq_modules
Rename emq_mod_retainer to emq_retainer project
Overview page: Add 'missed' metrics
Client page: Add 'SendMsg', 'RecvMsg' Fields
Session page: DeliverMsg、EnqueueMsg Fields
Change the datatype of 'recon.gc_interval' to duration
Change the datatype of 'reloader.interval' to duration