A primer on HiveMQ Broker
From OPC Labs Knowledge Base
Introduction
HiveMQ Broker is a commercial MQTT Broker based on Java.
Web site: https://www.hivemq.com/products/mqtt-broker/
Download: https://www.hivemq.com/download/ (the whole HiveMQ Platform)
Documentation: https://docs.hivemq.com/hivemq/latest/user-guide/index.html (the whole HiveMQ Platform)
Installation
We have tested the following installation steps on Windows, with HiveMQ 4.42.0.
- Unpack the downloaded ZIP file.
- In the unpacked directory for HiveMQ, expand the bin subdirectory, the right-click run.bat, and select "Run as administrator".
- You may get an error similar to this: "ERROR! You do not have the Java Runtime Environment installed, please install Java JRE from https://adoptium.net/?variant=openjdk21".
- Visit https://adoptium.net/temurin/releases and download the .MSI for Windows.
- Run the downloaded installer, keeping all defaults.
- In the unpacked directory for HiveMQ, expand the bin subdirectory, the right-click run.bat, and select "Run as administrator".
- The HiveMQ should now start, showing various log messages in the console window.
This is now an insecure HiveMQ deployment. Any MQTT client can connect to the broker with a full set of permissions. The MQTT broker is accepting TCP connections on port 1883. You can access the HiveMQ Control Center on http://localhost:8080/ .