EMQX major version upgrade: what changes

Upgrading EMQX to a newer major version starts with confirming the current 6.x release, reading the documented 6.0 breaking changes and planning a tested rollback. This page sets out what the documentation covers and what to confirm with EMQX before you set a deadline.

On this page

How an EMQX major version upgrade starts: confirm the release first

As of December 2026, 6.3.3 is the latest stable EMQX release, and the breaking changes documented for the 6.0 line sit on the EMQX 6.0 breaking changes page. If you run an earlier version and must move to a newer major line, that page is the first document to read against your current configuration. Confirm the current release on the EMQX GitHub releases page before you fix a target version, since a newer stable tag may appear after this guidance was written. Record the running version on every node, because a mixed-version cluster is the state you most need to avoid during a planned move.

Before anyone sets a deadline, ask EMQX to confirm three things in writing: the end-of-life date for your current minor line, the sequential upgrade path from your version to the target, and the rollback steps if a node fails partway through the upgrade. Ask specifically whether rollback still works after a node has loaded new data or rule definitions, because that answer decides how much of the change window you can recover. A deadline set from a release date alone can fall earlier than the time the approved path needs. Treat the sequential upgrade path as a fixed input to the plan and build the schedule around it.

The work that follows usually covers three areas: config review against the breaking changes, integration testing of every rule action and data bridge your devices depend on, and license checks for clusters. Since 5.9.0, a cluster of more than one node needs a license file, so confirm with EMQX that the license you hold covers the target version and node count before the first node is touched. Also check the 6.0 entries that change behavior quietly, such as the rule engine namespace default set in 6.0.3 and the User Property limit added in 6.0.4, because these can pass a basic connection test and still break routing. Make sure the test plan covers each of them.

Which EMQX releases are current and what each means for an upgrade

This table lists the EMQX releases most likely to matter for an upgrade target, with publication dates from EMQX's GitHub releases and what each row means for your choice. Read the status column as planning input: the newest stable line is the usual starting point, but support windows decide how long a target stays safe. Before you choose, request written end-of-life dates for each line from EMQX and map them to your change calendar.

ReleasePublishedStatus for an upgrade target
6.3.32026-11-11Latest stable release as of December 2026. Usual first candidate for a target, once EMQX confirms its end-of-life date in writing.
6.3.02026-09-03Earlier release on the 6.3 line. Choose it only if your test results require holding at this point, and confirm its support window with EMQX.
6.2.02026-04-01Older minor line. Treat it as a target only if your plan is to move again within the support window EMQX confirms in writing.
6.1.02025-12-30Oldest minor release in this table. Staying here means another upgrade later, so schedule that second move now and budget test time for it.
6.0 patch line (6.0.1, 6.0.3, 6.0.4)Confirm dates on the EMQX releases pageCovered by the 6.0 breaking-changes page. Review the OpenTelemetry endpoint rule in 6.0.4, the 100 user property default and the 6.0.3 namespace rule change before moving.

Why the license changes the cluster upgrade plan

Upgrading across 5.9.0 is a licensing decision as well as a software one. From 5.9.0, EMQX unified its former Open Source and Enterprise editions into a single offering under the Business Source License 1.1, so the edition label you carry into the upgrade no longer tells you what the target release permits. A cluster of more than one node needs a license file from 5.9.0 onward, which means every node you add during a rolling upgrade must be covered before it joins the cluster. Production use of a single node is allowed, provided the node is not offered to third parties on a hosted or embedded basis. Educational and non-profit users may run it in production without restriction for non-commercial purposes. Read the EMQX license file against your actual deployment model before you fix the target version.

Each EMQX release under the Business Source License converts to Apache 2.0 four years after it is published, so the license terms attach to each release you install. That affects the target decision. A release published earlier reaches Apache 2.0 earlier, so the choice of version sets how long your production obligations under the Business Source License last. Add the conversion date for your chosen release to your support horizon, and record which release you selected, when it was published and why. Confirm the conversion date with EMQX for that specific release, and keep the node count and hosting model in the same change record so an auditor or a procurement reviewer can trace the decision.

If you run a pre-5.9.0 edition today, confirm with EMQX how your current edition maps to the Business Source License before you choose a target. The mapping decides whether your existing entitlements carry into a 5.9.0 or later cluster and whether the node count you run now needs a license file after the upgrade. Ask for the answer in writing, covering each cluster, its node count, its deployment model and any hosted or embedded use by third parties, and attach it to the change request. Without that record, the license check becomes a gate discovered during cutover, when a half-upgraded cluster is the hardest place to resolve it.

The EMQX major version upgrade path and what to confirm at each step

This sequence moves an EMQX cluster from its current release to a newer major version, with each compatibility, licensing and recovery check closed before the next one starts. It produces a written record of the target version, the breaking changes that apply to your configuration, and a tested way back if the production upgrade fails.

  1. Confirm the current and target release

    Open the EMQX releases page and record your running version and the target release. At the time of writing, the latest stable release listed is 6.3.3, dated 2026-11-11, but choose the target that your support arrangements and compliance scope cover. Confirm in the documentation whether your starting release can move directly to the target or whether intermediate versions are required first. Done when the full path, with each version number and release date, is written down and approved.

  2. List breaking changes for every version in the path

    Read the breaking changes pages for every version between your starting release and the target, not only the target. The 6.0 page lists items such as the OpenTelemetry exporter endpoint format in 6.0.4, the default limit of 100 MQTT v5 User Property pairs in CONNECT and Will properties added in 6.0.4, and namespaced rules firing only for their own namespace from 6.0.3. Map each item against your configuration, rules and clients, and mark it as applicable or not applicable with a reason. Done when every listed change has a recorded decision and an owner.

  3. Check the license file for each cluster

    Confirm the license position of each cluster before any upgrade work starts. The EMQX README states that from version 5.9.0, a cluster of more than one node requires a license file, and the LICENSE allows production use of a single node unless it is offered to third parties on a hosted or embedded basis. Check that each license file covers the node count and the target version, and ask EMQX to confirm the position in writing if the terms are unclear for your use. Done when each cluster has a documented license file, its covered node count, and a confirmed answer for the target release.

  4. Export configuration and back up data

    Use the configuration export and backup method described in EMQX's documentation for your starting release, and store the output outside the cluster. Confirm which items the method covers, including rules, data integrations, authentication and authorization settings, and retained messages or session data, and record any item you exclude on purpose. Ask EMQX which migration tools it provides for your path, because this sequence does not assume any. Done when the backup is stored in a second location and a restore has been checked on a separate system.

  5. Upgrade a staging copy and run tests

    Build a staging cluster that matches production in node count, license setup, rules, integrations and client mix, then run the upgrade on it using the same steps planned for production. Run rule tests, a test for each connected system such as Kafka, PostgreSQL or Redis, and client tests covering connect, publish, subscribe and reconnect at the MQTT versions and QoS levels your devices use. Confirm whether rolling cluster upgrades are supported on your path, and test the exact method you plan to use. Done when the results are signed off and every failure has a fix or an accepted risk.

  6. Rehearse the rollback path

    Write the rollback steps you would follow if production fails, with an owner and a decision point for triggering them. Check the EMQX documentation for any supported path from the target version back to your starting version, and confirm with EMQX whether data written by the new version can be read by the old one. If no supported downgrade is documented, plan for a restore from the backup taken in the previous step instead. Rehearse the chosen path on staging. Done when the rehearsal returns staging to its starting state and the results are recorded in the runbook.

  7. Schedule and run the production upgrade

    Agree a change window with the teams that own the devices, integrations and on-call rota, and freeze configuration changes for its duration. Take a fresh backup immediately before the upgrade, then run the steps in the order confirmed on staging, keeping the rollback decision point visible to the operator. Watch node health, cluster membership and error logs after each stage. Done when every node reports the target version, the cluster shows the expected members, and the license is valid for the target release.

  8. Verify rules, integrations and client sessions

    Run the same rule, integration and client tests used on staging against production, using test devices and a controlled set of topics. If you run namespaces, check that namespaced rules fire only for the expected namespace, and if you use RocketMQ actions, check that the payload template is applied. Confirm that client sessions persist and reconnect as your device fleet expects, and that monitoring shows no new error pattern against your pre-upgrade baseline. Done when the test list is signed off and the rollback decision point has passed.

Which documented 6.0 changes affect an EMQX major version upgrade

All four items come from EMQX's 6.0 breaking-changes page. Each one changes behavior at the edges of the broker, in exporters, client properties, rule routing and connector payloads, so an upgrade can pass basic health checks and still break a pipeline. This list covers the 6.0 line only, so read the breaking-changes material for every release between your current version and your target before you set a cutover date.

OpenTelemetry exporter endpoint format

From 6.0.4, the OpenTelemetry exporter endpoint must be a valid http or https URL with an explicit port. Check every exporter endpoint in configuration files and environment overrides against this rule before cutover. Confirm the scheme is http or https, the host is present and the port is written out, even where you rely on a default. Then confirm in staging that traces or metrics still reach your collector after the upgrade, because you should not assume how a non-conforming value will be handled.

EMQX 6.0 breaking changes

MQTT v5 user property limit

From 6.0.4, mqtt.max_connect_user_properties caps MQTT v5 User Property pairs in CONNECT and Will properties at 100 pairs by default. The limit can be set to infinity, so you decide whether to keep the cap for each deployment. Check which clients attach many user properties to CONNECT or Will messages, such as gateways, fleet agents or bridges that stamp metadata on every connection. Test those clients against the default, then either raise the limit or change what they send before cutover.

Namespaced rule selection scope

From 6.0.3, rule_engine.limit_selects_in_namespace is true by default. A namespaced rule then fires only for messages and client events from the same namespace. Rule sets that read topics or events across namespaces may see fewer matches after the upgrade. List every rule that sits in a namespace and every source it selects from, confirm the flag holds the value you need, and test each cross-namespace flow against a staging copy before cutover.

RocketMQ payload template behavior

From 6.0.1, RocketMQ actions apply the configured payload template, and the message they send no longer carries the full rule output. Find every RocketMQ action and the consumers that read from it. Compare each consumer's expected fields with the template output, then update either the template or the consumer. Replay representative messages through a staging topic to confirm the fields arrive as expected before cutover.

How to plan the upgrade for a single node, a cluster or EMQX's managed cloud

A single node is the simplest case. The Business Source License allows production use of one node unless you offer EMQX to third parties on a hosted or embedded basis, so the work is mostly about recovery and client behavior. If your target is a 6.0.x release, read the 6.0 breaking changes against your configuration first.

  • Configuration backup: Export configuration files, rule definitions and data integration settings, and record the current version so you know what you would return to.
  • Staging rehearsal: Upgrade a copy with representative rules, authentication settings and retained messages, then compare results before and after.
  • Client reconnection test: Measure how devices and applications reconnect after the restart, including session handling and client retry behavior.
  • Integration checks: Confirm Kafka, PostgreSQL, RocketMQ and OpenTelemetry exporter flows. For RocketMQ, verify that your payload template is what gets sent, since 6.0.1 applies it to actions. From 6.0.4, the exporter endpoint must be a valid http or https URL with an explicit port.
  • Rollback owner: Name one person who decides whether to revert, and agree the criteria, such as failed reconnections or rule errors, before the window opens.

Rehearse the rollback in staging so the decision is tested before production depends on it.

The upgrade sequence and the points where you can stop or roll back

This illustrative sequence starts by confirming the current and target EMQX releases, then reading the breaking changes for every release in between. Next, check the license file, since a cluster of more than one node needs one from 5.9.0 onward. Back up configuration and data before upgrading staging, then run rule, integration and client tests. The go or no-go decision comes before production. A no-go sends the team to remediation and a retest. If production needs to be reversed, treat the rollback path as something to confirm with EMQX before acting. Post-upgrade verification closes the sequence.

This illustrative sequence is not EMQX's official upgrade procedure.

What rollback planning looks like when the documentation does not describe it

The EMQX breaking-changes page for 6.0 describes what changed in the 6.0 line, but it does not describe a rollback procedure. Before production work starts, ask EMQX in writing for the supported downgrade path from your target 6.x release back to your current release. Ask whether a downgrade is supported at all once a cluster has written data under the new version, and what EMQX expects you to do with data, configuration and client sessions in that case. Until EMQX confirms the answer, treat every rollback step in your plan as unverified.

Four preparations do not depend on that answer, and each should be finished on a staging cluster first. Run a restore from backup on staging using the same release, node count and configuration as production, then time the restore and note what it does not bring back. Keep a copy of the prior release package and its checksum in your own artifact store, so an incident does not depend on finding the download again. Export the rule, namespace and integration configuration from the running system and record the effective value of rule_engine.limit_selects_in_namespace, which EMQX 6.0.3 set to true by default, so the restored or downgraded system can be compared against it field by field.

Two decisions need written agreement before the upgrade window opens. The first is the tolerance for message loss and client reconnection, set per workload: which topics can accept QoS 0 loss, which devices depend on persistent sessions surviving a restart, and how large a reconnect burst the fleet and the backend can absorb. The second is one named owner who makes the rollback call, with the authority to halt the upgrade and written criteria agreed in advance, such as failed rule actions into Kafka or PostgreSQL or reconnects beyond the agreed tolerance. That owner should not be the engineer running the upgrade, and the people who run the downstream integrations should know the decision path, because they usually see the effects first.

What an EMQX upgrade costs, how long it takes and what it needs from you

What does an EMQX major version upgrade cost, and who pays for what?

Cost follows the amount of configuration, integration and test work, and the people who do it. Your organization pays for internal staff time: platform owners, integration owners who confirm each rule and bridge still behaves, and a sign-off owner. Staging capacity is a separate cost because the old and new versions must run side by side for testing. Outside fixed-scope work adds the fee for planning, implementation, testing and documentation named in the written scope. Most of this is one-time. A retainer adds a recurring cost for ongoing support, upgrades and continuous testing, and it does not replace internal review. Ask any quote to itemize who does each task, what staging is assumed, whether rollback testing is included, the rate for out-of-scope work and how the retainer renews or ends.

How long does an EMQX major version upgrade take?

No standard duration applies, because the timeline depends on how much of the deployment must be inventoried, changed and tested. The main drivers are the number of rules, the number of integrations, namespaces, cluster size, the license checks for multi-node clusters and whether a staging environment is free for the full test window. Namespace behavior changed by default in 6.0.3, so namespaced rules need explicit checks. Change window availability and sign-off turnaround can add elapsed time. Ask for a written timeline with milestones, the dependencies on your team and on staging, and the number of change windows assumed. Review the EMQX 6.0 breaking changes for every version on your path before you fix a date.

What does an EMQX upgrade need from our team?

Your team provides five inputs before planning can start:

  • Configuration exports from each node, covering listeners, authentication, TLS and rule engine settings.
  • A rule and integration inventory listing each rule, its SQL, its action and its target system.
  • Test clients that publish and subscribe the way your devices and services do, on the MQTT versions you run.
  • A change window agreed with operations, long enough for cutover and rollback.
  • A sign-off owner with authority to accept the upgrade or stop it.

Gaps in the inventory tend to surface during testing, so finish it before you set a date.

Can our own team upgrade EMQX without an outside partner?

Often yes, if the team already runs EMQX clusters in production and has the skills in place. The work needs people who can administer Linux hosts and the EMQX cluster, understand MQTT 3.1.1 and 5.0 session and QoS behavior, write and test SQL rules, operate each integration target such as Kafka, PostgreSQL or Redis, manage TLS and authentication settings, and run backup and rollback steps. Confirm these skills against your own environment, since no outside reviewer can judge them from a checklist. A team running its first clustered upgrade, or one without a staging environment, should plan for training or outside support before the change window.

When should we bring in outside help for an EMQX upgrade?

Bring in outside help when the team lacks one of the skills above, when the rule and integration inventory is large or undocumented, when no staging environment is available, or when the upgrade must produce evidence for an assessment. A fixed-scope engagement sets scope, deliverables and timelines in writing before work starts, and it can cover planning, implementation, testing, backup, rollback, documentation and handover. DeployOpen plans, implements, integrates, backs up, upgrades and documents self-hosted platforms inside your own infrastructure, and it prepares the evidence that compliance teams review. Confirm in the written scope which EMQX edition and license terms the work covers. Ongoing support and continuous testing are available as retainers.

What changes for EMQX users on editions before 5.9.0?

From 5.9.0, EMQX merged its former Open Source and Enterprise editions into one offering under the Business Source License 1.1, moving away from Apache 2.0. Releases before 5.9.0 carry the earlier license, so the upgrade moves your installation under the Business Source License. Under that license, a single node may run in production, provided it is not offered to third parties on a hosted or embedded basis. A cluster of more than one node needs a license file from 5.9.0 onward. Each release under the license converts to Apache 2.0 four years after it is published. Legal and procurement should review these terms before you choose the target version. Confirm with EMQX which license file your cluster needs, and read the full terms in the EMQX license.

Does an EMQX upgrade produce an audit report or certification?

No. An upgrade produces change records, test results, configuration evidence and rollback notes, but it does not produce an audit report or certification. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications. Independent auditors and certification bodies issue those reports. Before the work starts, ask your assessor which evidence it needs for the upgrade, such as approved change tickets, pre and post test results, backup records, access logs and the sign-off record. Also ask whether a major version change affects the scope of your existing assessment. Keep the records in your own evidence store so the assessor can reach them after any engagement ends.

How DeployOpen plans and runs an EMQX upgrade

DeployOpen plans and runs EMQX major version upgrades inside your own cloud accounts, data centers or air-gapped networks. Most engagements are fixed-scope, so the scope, deliverables and timeline are agreed in writing before the upgrade work begins. The work covers the documented upgrade path, the breaking changes that affect your configuration, testing, rollback planning and handover to your operations team.

How we scope

  • The written scope names the EMQX versions in play, from your current release to your target release.
  • It lists every node, listener, authentication source, rule and data integration the upgrade touches.
  • Deliverables and any exclusions are agreed before work starts, so the upgrade has a defined end point.

How we build

  • We review the breaking-changes documentation for each step on the documented upgrade path to your target version.
  • Check changed defaults, such as the 100 MQTT v5 User Property pair limit added in 6.0.4.
  • Upgrades are rehearsed on a copy of your cluster, with the rollback path tested before any production node moves.

How we hand over

  • Documentation covers the chosen upgrade path, configuration changes, test results and the rollback steps you tested.
  • DeployOpen walks your operations team through the upgrade runbook before the production window.
  • Access, authentication and logging settings are verified again after the upgrade.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • A retainer can cover later upgrades, so each one starts from a written plan and a tested rollback path.
  • Ask what the quote includes for later upgrade windows and for changes found during testing.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.