Skip to content

Migrate from VerneMQ ​

The VerneMQ migration skills audit vernemq.conf and the enabled plugins, convert vmq.acl, map mountpoints and client IDs, size the ConnectMQ plan, then set up vmq_bridge, run the client waves and handle rollback.

What the skills do ​

SkillWhat it does
vernemq-migration-plannerAudits vernemq.conf, plugins (vmq_passwd, vmq_acl, vmq_diversity, vmq_webhooks, vmq_bridge), vmq.acl and vmq.passwd; samples vmq-admin sessions and metrics; checks plan limits; converts ACLs; maps mountpoints and client IDs; writes migration/plan.md.
vernemq-migration-executorVerifies the ConnectMQ broker, configures vmq_bridge (or the relay), copies retained messages, compares message flow, runs client waves, rolls back, decommissions the cluster; keeps migration/log.md.
ScriptPurpose
vernemq_audit.pyvernemq.conf + vmq.acl + vmq.passwd → audit report, ACL rules, user list.
relay.pyExternal two-way bridge, for when vmq_bridge can't be enabled.
client_id_map.py, verify_connectmq.py, copy_retained.py, compare_streams.pySee the overview.

Install ​

text
/plugin marketplace add connectmq/vernemq-migration-skills
/plugin install vernemq-migration-skills@connectmq-vernemq-migration

How the migration runs ​

  1. Plan: audit config and plugins, measure sessions and metrics, check plan limits, map credentials, client IDs, mountpoints and ACLs, choose waves.
  2. Bridge: one VerneMQ node bridges topics to ConnectMQ and commands back.
  3. Consumers first: back ends and dashboards read from ConnectMQ; webhook side effects move to a subscriber service.
  4. Devices in waves: canary, then growing waves, each with go/no-go and rollback.
  5. Cutover: disable the bridge, keep the cluster for the rollback window, decommission.

What changes ​

VerneMQConnectMQ
MountpointsOne topic tree per broker: use a topic prefix per former mountpoint, or a separate broker
vmq_webhooks, vmq_diversity authUsername and password credential sets; side effects in a subscriber service
vmq.aclACL policies (Basic & Scale); %c → ${clientid}, %u → ${username}
Any client ID<ISSUED_ID>_<old-id>

Example prompts ​

  • "We run a three-node VerneMQ cluster on Kubernetes. Plan a move to ConnectMQ."
  • "Convert vmq.acl to ConnectMQ access control rules; we use the factory mountpoint."
  • "What do our vmq_webhooks do, and what replaces them on ConnectMQ?"
  • "Configure vmq_bridge to our ConnectMQ broker for telemetry and commands."

Fully managed MQTT broker for connected devices.