Upgrade the hive

HiveMQ 4.2: IoT data solutions with new backup & restore features

Sarah Schlothauer
© Shutterstock / Valentina Proskurina

HiveMQ is a “reliable data movement for connected devices” that helps bring a solution to the data that IoT applications generate. The newly announced version 4.2 introduces a new backup and restoration feature for the Professional and Enterprise Edition, as well as a few improvements added to the open source edition.

HiveMQ is a “reliable data movement for connected devices” that helps enterprises with machine-to-machine communication and the Internet of Things. In April 2019, HiveMQ and the MQTT Client became open source under the Apache 2.0 license, offering a Community Edition (CE) of the software. The CE includes a Java-based MQTT broker, TSL/SSL communication, support for MQTT clients, metrics for monitoring, and Extension Framework and Open API.

Now, it upgrades with a new release: version 4.2. What’s new in the latest version?

Hive MQ version 4.2 features

HiveMQ version 4.2 adds new features and functionality, including a Backup & Restore feature for backing up and recovering clusters.

SEE ALSO: Eclipse IoT survey 2019: IoT development continues to expand

Newest additions:

  • Backup & Restore via Control Center: Create cluster-wide backups of your important data. Create and download backups with all their retained messages, MQTT client sessions, client subscriptions, queued messages, shared subscription queues, client data added by extensions, and message data that extensions use. Restore any previously backed up data by downloading the compressed data file. Backup and restore functions only available for HiveMQ Professional Edition and Enterprise Edition.
  • Role-based access control permissions for Control Center: Disable/enable and restrict control center functionality for specific users.
  • Audit Logs added
  • AdminService: Perform health checks and access info about the server, broker, and the broker lifecycle state.
  • SubscriptionStore (Community SDK): Access cluster-wide MQTT subscribers and filter subscribers of a specific topic.
  • ClientStore (Community SDK): Access all stored MQTT sessions
  • ClientSettings (Community SDK): Access and modify client settings
  • SubscribeInboundInterceptor (Community SDK): Modify incoming MQTT SUBSCRIBE packets
  • ConnectInboundInterceptor (Community SDK): Modify incoming MQTT CONNECT packets
  • ConnackOutboundInterceptor (Community SDK): Modify outgoing MQTT CONNACK packets
  • PublishOutboundInterceptor (Community SDK): Modify outgoing MQTT publishes before sending to clients
  • SessionAttributeStore API (Enterprise SDK): Add key-level data to MQTT sessions
  • Control Center Customizable Authentication (Enterprise SDK)

Upgrading the hive

For users who already have v4.1 installed, this minor update requires no manual steps. However, those who still use v3.x.x must migrate to 4.0.x following the instructions in the migration guide in order to use the newest features.

SEE ALSO: New JAX Mag issue: Exploring the IoT universe

Grab the latest download here. Users can either install via Docker, Amazon Web Services or install the package download via a ZIP archive. Three different editions are available: HiveMQ Enterprise Edition, Professional Edition, and the open source Community Edition. Refer to the comparison chart to decide which edition suits best.

When we interviewed co-founder and CTO at HiveMind, Dominik Obermaier about the Community Edition, he said:

The HiveMQ Community Edition allows users to utilize a free MQTT broker. Many of the world’s largest IoT applications have been using it for a great deal of years.  The MQTT broker implements 100% of all MQTT features, including all optional features.

An open Java-based extension system allows the development of custom extensions, in order to connect the broker directly to third party systems. For example, it can write data directly into a database or implement project-specific access controls.

The HiveMQ Community Edition is a fully-fledged broker that has been hardened in mission-critical applications for years and scales extremely well. Hundreds of thousands of MQTT clients can exchange thousands of messages on commodity hardware with low CPU and memory consumption.

View the Community Edition on GitHub.

Sarah Schlothauer

Sarah Schlothauer

All Posts by Sarah Schlothauer

Sarah Schlothauer is the editor for She received her Bachelor's degree from Monmouth University, West Long Branch, New Jersey. She currently lives in Frankfurt, Germany with her husband and cat where she enjoys reading, writing, and medieval reenactment. She is also the editor for Conditio Humana, an online magazine about ethics, AI, and technology.

Inline Feedbacks
View all comments