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
| Skill | What it does |
|---|---|
emqx-migration-planner | Audits 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-executor | Verifies 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. |
| Script | Purpose |
|---|---|
emqx_audit.py | emqx.conf (HOCON or 4.x) + acl.conf + built-in database JSON + clients JSON → audit report, ACL rules, users and clients lists. |
relay.py | External two-way bridge for EMQX Serverless or when integrations can't change. |
client_id_map.py, verify_connectmq.py, copy_retained.py, compare_streams.py | See the overview. |
Install
text
/plugin marketplace add connectmq/emqx-migration-skills
/plugin install emqx-migration-skills@connectmq-emqx-migrationHow the migration runs
- Plan: audit, REST API inventory, plan limits, credentials, client IDs and ACLs, a replacement for every rule.
- Bridge: EMQX forwards device topics to ConnectMQ and pulls commands back (or
relay.py). - Consumers first: replacement services and dashboards read from ConnectMQ, first in shadow mode.
- Devices in waves: canary, then growing waves, each with go/no-go and rollback.
- Cutover: remove the bridge, keep EMQX for the rollback window, decommission.
What changes
| EMQX | ConnectMQ |
|---|---|
| Rule engine and data integrations | No 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 rewrite | Implement in the publishing service |
| External auth (HTTP, JWT, DB) | Username and password credential sets |
| ACL rules | ACL 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?"