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
| Skill | What it does |
|---|---|
vernemq-migration-planner | Audits 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-executor | Verifies 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. |
| Script | Purpose |
|---|---|
vernemq_audit.py | vernemq.conf + vmq.acl + vmq.passwd → audit report, ACL rules, user list. |
relay.py | External two-way bridge, for when vmq_bridge can't be enabled. |
client_id_map.py, verify_connectmq.py, copy_retained.py, compare_streams.py | See the overview. |
Install
text
/plugin marketplace add connectmq/vernemq-migration-skills
/plugin install vernemq-migration-skills@connectmq-vernemq-migrationHow the migration runs
- Plan: audit config and plugins, measure sessions and metrics, check plan limits, map credentials, client IDs, mountpoints and ACLs, choose waves.
- Bridge: one VerneMQ node bridges topics to ConnectMQ and commands back.
- Consumers first: back ends and dashboards read from ConnectMQ; webhook side effects move to a subscriber service.
- Devices in waves: canary, then growing waves, each with go/no-go and rollback.
- Cutover: disable the bridge, keep the cluster for the rollback window, decommission.
What changes
| VerneMQ | ConnectMQ |
|---|---|
| Mountpoints | One topic tree per broker: use a topic prefix per former mountpoint, or a separate broker |
vmq_webhooks, vmq_diversity auth | Username and password credential sets; side effects in a subscriber service |
vmq.acl | ACL 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."