Skip to content

Migrate from EMQX ​

The EMQX migration skills audit emqx.conf, convert acl.conf and built-in database rules, inventory clients through the EMQX REST API and find the broker-side logic (rule engine, data integrations, delayed publish, topic rewrite, $queue) that must move into services.

What the skills do ​

SkillWhat it does
emqx-migration-plannerAudits EMQX config, converts acl.conf (EMQX 4 and 5 syntax) and built_in_database rules, reads /api/v5/clients, /stats, /metrics and /rules, checks the workload against ConnectMQ plan limits, maps client IDs, designs rule-engine replacements, writes migration/plan.md.
emqx-migration-executorVerifies the ConnectMQ broker, configures the EMQX MQTT bridge (connector + rule + action/source) or an external relay, copies retained messages, brings replacement services live, compares message flow, runs client waves, rolls back, decommissions; keeps migration/log.md.
ScriptPurpose
emqx_audit.pyemqx.conf (HOCON or 4.x) + acl.conf + built-in database JSON + clients JSON → audit report, ACL rules, users and clients lists.
relay.pyExternal two-way bridge for EMQX Serverless or when integrations can't change.
client_id_map.py, verify_connectmq.py, copy_retained.py, compare_streams.pySee the overview.

Install ​

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

How the migration runs ​

  1. Plan: audit, REST API inventory, plan limits, credentials, client IDs and ACLs, a replacement for every rule.
  2. Bridge: EMQX forwards device topics to ConnectMQ and pulls commands back (or relay.py).
  3. Consumers first: replacement services and dashboards read from ConnectMQ, first in shadow mode.
  4. Devices in waves: canary, then growing waves, each with go/no-go and rollback.
  5. Cutover: remove the bridge, keep EMQX for the rollback window, decommission.

What changes ​

EMQXConnectMQ
Rule engine and data integrationsNo broker-side rule engine: services subscribe (with shared subscriptions on Basic & Scale) and write to your databases
$queue/topic$share/<group>/topic
Delayed publish, topic rewriteImplement in the publishing service
External auth (HTTP, JWT, DB)Username and password credential sets
ACL rulesACL policies (Basic & Scale)

Example prompts ​

  • "We run a 3-node EMQX 5 cluster with 600 devices. Plan a move to ConnectMQ."
  • "Convert our EMQX acl.conf and built-in database rules to ConnectMQ access control rules."
  • "List every EMQX rule and data integration we use and propose a replacement for each."
  • "We are on EMQX Serverless. Start a relay to ConnectMQ and compare both sides."
  • "Consumers using $queue/jobs stopped receiving after the switch. Why?"

Fully managed MQTT broker for connected devices.