HiveMQ integration

HiveMQ Cloud MQTT: publish, subscribe, retained messages, last will

Help CentreConnectors

Overview

HiveMQ Cloud is a managed MQTT broker – IoT-focused, MQTT 3 + 5 support. The Automize HiveMQ connector covers MQTT pub/sub, retained messages, last-will.

  • Regions: Multi-region.
  • Plans: Free tier + paid (volume + connections).

Setting up the connection

  1. HiveMQ Cloud → Access Management → user with publish/subscribe rights.
  2. In Automize → Settings → Connectors → HiveMQ. Paste broker URL + credentials.

Find your credentials at https://console.hivemq.cloud/.


Rate limits

Per-cluster tier.


Data model

MQTT pub-sub:

    Cluster ─── Topics ─── Subscribers
            └─ Retained messages, last-will + testament

Available operations

5 operations available. Click any row to jump to its detail.

OperationCategoryWhat it does
PublishGeneralPublish a message to an MQTT topic
Publish RetainedGeneralPublish a retained message to an MQTT topic
Set Last WillGeneralSet the MQTT Last Will and Testament message
SubscribeGeneralSubscribe to an MQTT topic
UnsubscribeGeneralUnsubscribe from an MQTT topic

Operations

Publish

Publish a message to an MQTT topic

ParameterRequiredTypeDescription
Topic topicYestext
Message messageYestext
Headers headersNotextarea

Tips

  • topic + payload. qos 0/1/2. retain optional.

Publish Retained

Publish a retained message to an MQTT topic

ParameterRequiredTypeDescription
Topic topicYestext
Message messageYestext

Set Last Will

Set the MQTT Last Will and Testament message

ParameterRequiredTypeDescription
Topic topicYestext
Message messageYestext

Subscribe

Subscribe to an MQTT topic

ParameterRequiredTypeDescription
Topic topicYestext
Callback callbackNotext

Tips

  • Returns websocket-tunnelled stream of messages.

Unsubscribe

Unsubscribe from an MQTT topic

ParameterRequiredTypeDescription
Topic topicYestext

FAQ

HiveMQ vs AWS IoT Core?
Both MQTT. HiveMQ: vendor-neutral, MQTT 5 first-class, advanced features. AWS IoT: tightly integrated with AWS services.

Related connectors

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.