Skip to content

What's New in HiveMQ 4.34?

by HiveMQ Team

The HiveMQ team is excited to announce the release of HiveMQ Enterprise MQTT Platform 4.34. This release introduces customizable Kafka record headers in the HiveMQ Enterprise Extension for Kafka, seamless module updates in HiveMQ Modules for Data Hub, and numerous performance enhancements and useful fixes.

Highlights

  • New custom Kafka record header configuration in the HiveMQ Enterprise Extension for Kafka
  • New seamless update option for HiveMQ Data Hub Modules

Customizable Kafka Record Headers in the HiveMQ Enterprise Extension for Kafka

The HiveMQ Enterprise Extension for Kafka integrates HiveMQ with the popular open-source Kafka streaming platform. HiveMQ 4.34 adds the option to configure custom Kafka record headers.

How it works

You can now add a configuration for Kafka record headers to your mqtt-to-kafka-mappings. The new option can be used to configure fixed values or to add placeholders for various useful MQTT message properties.

Example configuration for two Kafka record headers with a static string and the MQTT message topic:

...
    <mqtt-to-kafka-mappings>
        <mqtt-to-kafka-mapping>
            <id>your-mapping-id</id>
            <cluster-id>your-cluster-id</cluster-id>
            <mqtt-topic-filters>
                <mqtt-topic-filter>ger/+/speed</mqtt-topic-filter>
                <mqtt-topic-filter>usa/+/velo</mqtt-topic-filter>
            </mqtt-topic-filters>
            <kafka-topic>your-kafka-topic</kafka-topic>
            <kafka-record-headers>
                <kafka-record-header>
                    <key>static-text-header</key>
                    <value>your-value</value>
                </kafka-record-header>
                <kafka-record-header>
                    <key>mqtt-topic-header</key>
                    <mqtt-topic/>
                </kafka-record-header>
            </kafka-record-headers>
        </mqtt-to-kafka-mapping>
    </mqtt-to-kafka-mappings>
...

Additional placeholders for MQTT message properties such as mqtt-qos, mqtt-retain, and more are available. For a full list of placeholders and further configuration details, see our documentation.

How it helps

Direct configuration support for Kafka record headers simplifies many use cases. The new configuration option eliminates the need to create additional customizations for this task.

HiveMQ Modules for Data Hub Update Feature

The HiveMQ Platform 4.34 release introduces the option to run seamless module updates from the Control Center. The Modules view of the Control Center visually notifies you when new HiveMQ Modules for Data Hub updates are available. The new functionality lets you quickly and easily update your modules with a single click.

How it works

In the HiveMQ Control Center, the Modules view shows all the available Modules and instances of Modules on your system. You can update individual Modules on the Instances tab with the Edit function. Necessary configuration changes can be made before updating the Module instance.

How it helps

With the new seamless update feature in HiveMQ Platform 4.34, you no longer need to manually delete and create new Module instances. Now, you can update a Module without interrupting its execution.

More Noteworthy Features and Improvements

HiveMQ Enterprise MQTT Broker

  • Extended metric data retention in the diagnostic archive to provide the last 72 hours of data to further facilitate root cause analysis and expedite incident resolution.
  • Improved the memory footprint of connected clients to significantly reduce memory overhead per connection.
  • Increased Control Center security to prevent possible exposure of client connection details.
  • Fixed an issue in the Control Center dashboard to ensure the correct maximum JVM memory value is displayed.
  • Fixed an issue that could cause a concurrent modification exception to be logged when metrics are reported.
  • Improved metrics retrieval to prevent potential blocks in metrics reporting.
  • Adjusted the handling of metric data during graceful shutdown to facilitate support.
  • Fixed an issue that could cause gaps in reported gauge metrics when one of the metrics is blocked.

HiveMQ Enterprise Extension for Microsoft SQL Server

  • Fixed a rare conversion error issue on the timestamp-iso-8601 placeholder that could throw an exception in specific scenarios when both seconds and nanoseconds of the MQTT Publish message timestamp are 0.

HiveMQ Enterprise Extension for MySQL

  • Fixed an issue in which the MQTT to MySQL Retry metric was erroneously incremented to the MQTT to MySQL Total Failed metric.

HiveMQ Enterprise Extension for PostgreSQL

  • Fixed an issue in which the MQTT to PostgreSQL Retry metric was erroneously incremented to the MQTT to PostgreSQL Total Failed metric.

HiveMQ Enterprise Security Extension

  • Added listener pipelines configuration option to remove client connect password from memory after authentication.

MQTT CLI

  • Refined subscription options to ensure a consistent user experience across all MQTT CLI commands and adherence to best practices.

Get Started Today

To upgrade to HiveMQ 4.34 from a previous HiveMQ version, follow our HiveMQ Upgrade Guide. To learn more about all the features the HiveMQ Platform offers, explore the HiveMQ User Guide.

HiveMQ Team

The HiveMQ team loves writing about MQTT, Sparkplug, Industrial IoT, protocols, how to deploy our platform, and more. We focus on industries ranging from energy, to transportation and logistics, to automotive manufacturing. Our experts are here to help, contact us with any questions.

HiveMQ logo
Review HiveMQ on G2