Which message brokers fit government and public sector workloads?
For a government team that must run its own messaging inside its own infrastructure, the shortlist follows the workload. Choose Apache Kafka for high-volume event streams that several consumers read independently, and RabbitMQ for queue-based integration and mixed protocols. Choose Apache ActiveMQ Classic for estates already built on JMS, and EMQX only for MQTT device telemetry once its license terms are cleared. Kafka is Apache-2.0 licensed with no paid edition from the project itself, and since 4.0 it runs only in KRaft mode, so any ZooKeeper-based cluster must migrate before upgrading. RabbitMQ 4.2 left community support on July 31, 2026, while 4.3.6 is supported by the community until January 31, 2027. Check the support window for the exact release you plan to run before you commit.
ActiveMQ Classic suits JMS estates best. It fully supports JMS 1.1 and J2EE 1.4 or later, partially supports JMS 2.0 and Jakarta Messaging 3.1, and offers transient, persistent, transactional and XA messaging. Confirm which JMS features your existing applications call before you plan a migration. Its high availability model relies on shared storage, and its persistence options are KahaDB or JDBC, so the storage design belongs in the architecture review. EMQX is governed by Business Source License 1.1 from version 5.9.0 onward. That license allows production use of a single node unless the service is offered to third parties on a hosted or embedded basis, and a cluster of more than one node requires a license file. Each release converts to Apache 2.0 four years after publication. Have counsel review these terms before a pilot starts, and record the outcome in the project file.
This page does not cover hosted services, so it makes no claims about their data residency, sub-processors and accreditation. Before you shortlist any hosted broker or streaming service, ask the vendor in writing where message payloads, metadata and logs are stored and processed, which sub-processors can access them, and which independent assurance reports or accreditations cover the specific service and region you would use. Confirm that the hosted option meets your own data classification rules, and compare it with a self-hosted deployment in your own data center or accredited cloud. Whichever option you choose, record the broker version, support end date and license terms in your architecture file, since those dates determine when you must upgrade.
Which message broker fits each public sector scenario
This table matches six common public sector messaging scenarios to the broker most likely to fit, the reason behind that fit, and the condition that would break it. Treat each row as a starting point for a proof of concept. Where a row depends on licensing terms, hosting location or offline updates, confirm those points in writing before you commit.
| Scenario | Best fit | Why |
|---|---|---|
| Modernizing JMS-based applications | Apache ActiveMQ Classic | Fully supports JMS 1.1 and partly JMS 2.0 with XA transactions. Fails if apps need full JMS 2.0 or Jakarta 3.1. |
| High-volume event streams feeding several consumers | Apache Kafka 4.x (KRaft mode) | Apache-2.0 with no paid project edition; 4.x is KRaft only. Fails if clusters still rely on ZooKeeper, which must migrate to KRaft first. |
| Queue-based integration across mixed protocols | RabbitMQ | AMQP 1.0 core since 4.0, MQTT and STOMP via plugins. Fails without a commercial license once community support ends (4.3.6: January 31, 2027). |
| MQTT telemetry from field sites | EMQX under its Business Source License | MQTT 5.0, 3.1.1 and 3.1, plus MQTT-SN, CoAP and LwM2M gateways. Fails for multi-node clusters without a license file (5.9.0 and later). |
| Managed service that must keep data in-country | Self-hosted Kafka or RabbitMQ in your in-country infrastructure | Hosting region, support access and subprocessors vary by provider, so get them in writing. Fails if a provider cannot commit to an in-country region. |
| Air-gapped or sovereign deployment | Apache Kafka 4.x (KRaft mode) or ActiveMQ Classic | Apache-2.0, self-hosted, no ZooKeeper in 4.x. Confirm offline update and patch paths with your vendor or distributor. Fails if the release leaves support. |
What each open-source broker is built for
These four options cover different messaging jobs, from a replayable event log to an MQTT broker for device fleets. Check the license and support window on each card before you shortlist, because community support and license terms often matter more than feature lists. Confirm current releases with each project before you pin a version, since each release line moves on its own schedule.
Apache Kafka
Apache Kafka is Apache-2.0 licensed, and the Apache Software Foundation project has no paid edition, so commercial support comes from a vendor or service provider. Supported releases are 4.3.1, 4.2.2 and 4.1.2. Kafka 4.0 and later run KRaft mode only, so any cluster still on ZooKeeper must migrate to KRaft before upgrading. Kafka Connect runs source and sink connectors in standalone or distributed mode, managed through a REST API. Avoid Kafka as a simple task queue if your team cannot operate a cluster and its connectors on a supported release cycle.
Kafka Connect overviewRabbitMQ
RabbitMQ server and its tier 1 core plugins are MPL 2.0 licensed. The current release, 4.3.6, has community support until January 31, 2027, and 4.2 lost community support on July 31, 2026. Support beyond those dates requires a valid commercial support license, for example commercial support for 4.2 through June 30, 2030, with lifecycle terms on Broadcom's support portal. Confirm the contract covers every version you deploy. Avoid RabbitMQ for a long-lived service if you cannot fund a commercial license, because community patches stop on fixed dates.
RabbitMQ release informationApache ActiveMQ Classic
Apache ActiveMQ Classic is an Apache-2.0 JMS broker that also speaks AMQP, MQTT, HTTP/WebSocket and STOMP. Releases 6.2.10 and 5.19.11 were published in September 2026. Confirm whether your Classic documentation follows the 5.19.x or the 6.2.x line before you pin a version. Classic supports transactional and XA messaging, message groups and virtual destinations, with high availability through shared storage and KahaDB or JDBC persistence. Avoid it if your applications need full JMS 2.0 or Jakarta Messaging 3.1 features, because the project documents only partial support for both.
ActiveMQ releasesEMQX
EMQX is licensed under the Business Source License 1.1, which is not OSI open source. Since 5.9.0, its former Open Source and Enterprise editions have been one offering under that license. A single production node is allowed unless you offer EMQX to third parties on a hosted or embedded basis, and clusters of more than one node require a license file. Each release converts to Apache 2.0 four years after publication. It suits MQTT device fleets using MQTT 5.0, 3.1.1 or 3.1, plus MQTT-SN, CoAP and LwM2M gateways. Avoid it for a multi-node service if your procurement rules out source-available licenses.
How Kafka, RabbitMQ, ActiveMQ Classic and EMQX compare on capabilities
This table compares the four brokers on license, latest supplied versions, protocols, persistence and high availability, security documentation, integration tooling and commercial support. Where a cell says to confirm, check the linked official documentation or the vendor before procurement. The main takeaway is that Kafka, RabbitMQ and ActiveMQ Classic use Apache or MPL licenses, while EMQX's Business Source License limits what a public body can offer to third parties.
| Option | License and latest versions | Protocols, persistence and HA | Security, integration and support |
|---|---|---|---|
| Apache Kafka | Apache-2.0, with no paid edition from the project. Supported releases: 4.3.1, 4.2.2 and 4.1.2. KRaft only since 4.0. | Kafka client protocol. Replication and geo-replication are documented. Confirm any other protocol support in the docs. | Security overview and ACL docs for 4.3. Kafka Connect for integration. Commercial support: confirm with vendors. Bugfixes only for supported releases. |
| RabbitMQ | MPL 2.0 for the server and tier 1 core plugins. Version 4.3.6 (September 16, 2026) has community support to January 31, 2027. | AMQP 0-9-1 and AMQP 1.0. MQTT and STOMP via plugins. Quorum queues are the documented replicated queue type. Confirm HA design in the docs. | Confirm security settings in the docs. Cluster Operator for Kubernetes. Long-term support requires a commercial license from Broadcom. |
| ActiveMQ Classic | Apache-2.0. Releases 6.2.10 (September 22, 2026) and 5.19.11 (September 2, 2026) are listed on GitHub. Confirm the line you need. | AMQP, MQTT, HTTP/WebSocket and STOMP alongside JMS. Persistence via KahaDB or JDBC. High availability via shared storage. | Embeds in Spring applications. JMS 2.0 only partly supported. Confirm security documentation and commercial support route with the project or vendors. |
| EMQX | Business Source License 1.1 since 5.9.0. Each release converts to Apache 2.0 four years after publication. Check your use against the license. | MQTT 5.0, 3.1.1 and 3.1, MQTT over QUIC, plus MQTT-SN, CoAP and LwM2M gateways. Multi-node clusters need a license file from 5.9.0. | Single-node production use is allowed unless offered to third parties hosted or embedded. Confirm security docs and support window with EMQX. |
How licenses and paid support change the government shortlist
License and support terms can decide the shortlist before any technical test runs. Apache Kafka and Apache ActiveMQ Classic are both licensed under Apache 2.0. Kafka has no paid edition from the project itself, so any paid support comes from a vendor or service provider you contract with separately. The RabbitMQ server and its tier 1 core plugins are licensed under MPL 2.0, with some OCF files under Apache 2.0. According to the RabbitMQ release information, 4.2 community support ended on July 31, 2026, and 4.3.6 community support runs to January 31, 2027. Beyond community dates, long-term support requires a valid commercial support license, so put those dates in your upgrade plan and get commercial lifecycle dates in writing from Broadcom before you commit.
EMQX needs the closest reading. Starting with version 5.9.0, EMQX unified its former Open Source and Enterprise editions under the Business Source License 1.1, moving away from Apache 2.0. The license allows production use of a single node, but it bars offering the product to third parties on a hosted or embedded basis, so a shared broker run for several agencies needs legal review. From 5.9.0, deploying a cluster of more than one node requires loading a license file. Each release converts to Apache 2.0 four years after it is published. The license also allows production use without restriction by educational and non-profit users for non-commercial purposes, but do not assume a public body qualifies. Ask counsel to confirm whether your specific use fits that clause.
Before a public body hosts a broker for other agencies, have counsel read the license texts for every candidate, including the EMQX license and the MPL 2.0 terms for RabbitMQ. Ask each vendor or provider to confirm in writing which edition, license file and support tier each environment needs, including clusters, test systems and disaster recovery sites. For Kafka, ask any support provider exactly what they are contracted to cover, since the project itself offers no paid tier. Record when each community or commercial support window ends and add those dates to the procurement file, so an upgrade is never forced by a lapsed window.
The decision path for choosing an event streaming platform
The diagram starts from the workload you need to carry. Follow the branch that matches what your systems send. JMS-based applications lead to Apache ActiveMQ Classic, which keeps the JMS programming model. MQTT device telemetry leads to EMQX, where you should check the Business Source License terms first, because clusters of more than one node need a license file from version 5.9.0 onward. High-volume streams with several consumers lead to Apache Kafka, and queue routing with AMQP 1.0 integration leads to RabbitMQ. If you need managed or local hosting, confirm the options with the vendor before you shortlist them.
Workload type decides which broker to check first.
How to choose and pilot a message broker for government
This sequence turns a long list of brokers into one choice the governing authority can review. Each step leaves a written record, from the protocol inventory to a fixed scope, so procurement, security and the authority work from the same facts. Skipping a step usually surfaces later as a migration or a stalled accreditation.
Inventory protocols, integrations and legacy dependencies
List every client protocol, system integration and message pattern the workload uses, including any JMS clients and any ZooKeeper dependency. Application teams and platform engineers do this together, because the broker has to carry what those systems already send. Check JMS use closely: ActiveMQ Classic fully supports JMS 1.1 and partially supports JMS 2.0 and Jakarta Messaging 3.1, so those features need testing. Note ZooKeeper too, since Kafka 4.0 supports only KRaft mode and ZooKeeper-based clusters must migrate to KRaft before upgrading to 4.x. The step is done when every producer, consumer and connector sits on a list with its protocol and owner.
Set residency and accreditation limits first
The authority that governs the system sets where data may be stored and processed, which cloud regions, data centers or air-gapped networks are allowed, and what accreditation or authorization boundary the broker must sit inside. Get these limits in writing from that authority and from the security and compliance owners before any product is named. Ask whether broker metadata, logs, dead-letter queues and backups fall inside the covered data, because they can carry the same sensitive content as messages. The step is done when the constraints appear in a signed requirements note that every later step must meet.
Check license and support terms
Procurement and counsel review the license of each candidate and the support model that goes with it. Apache Kafka has no paid edition from the project itself, and Apache ActiveMQ Classic is Apache-2.0 licensed, while RabbitMQ is licensed under MPL 2.0 and its community support ends on set dates, with longer support available only under a commercial support license. Ask who provides patches after community support ends, and whether a vendor contract changes these terms. The step is done when the license, support window and contract owner for each candidate sit in one approved comparison sheet.
Pick a supported version and upgrade window
Choose a release from the project's own release pages and confirm it is still supported. The Kafka downloads page lists 4.3.1, 4.2.2 and 4.1.2 as supported releases, and Kafka supports rolling upgrades from each release in the past year to the latest version. For RabbitMQ, the release information page shows 4.3.6 with community support until January 31, 2027, while 4.2 community support ended on July 31, 2026, and further 4.2 support requires a commercial support license. Map each candidate to an upgrade window your operators can hold. The step is done when the version, its end-of-support date and the upgrade path are recorded in the requirements note.
Pilot failover, upgrades and access control
Run a bounded pilot on a test copy of the expected topology, signing in through the identity system the authority uses for role mapping. Test a node failure and recovery, a rolling upgrade from the chosen version to the next supported one, and whether access control follows group membership and revocation. For Kafka, check authorization rules against the ACL documentation, and for RabbitMQ, test quorum queue behavior during failover. Record pass or fail for each test, including any step an operator had to perform by hand. The step is done when the security owner has reviewed the test log and signed off on the result.
Agree a written, fixed scope before build
After the pilot, agree the build in writing before any engineering starts. The scope should name the broker version, the clients and connectors in scope, the identity and logging setup, backup and restore tests, the upgrade runbook and the acceptance criteria for each deliverable. Most DeployOpen engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. Ask any implementation partner for the same. The step is done when the signed scope matches the pilot results and the requirements note from the earlier steps.
Where the operating effort lands in a government broker estate
Version management sets the operating rhythm after go-live, and each platform runs on a different clock. The Apache Kafka project aims for three releases a year, one every four months, and rolling upgrades are supported from each of the last three releases to the latest version. The supported Kafka releases are 4.3.1, 4.2.2 and 4.1.2, so a cluster that falls further behind needs a planned intermediate upgrade step. RabbitMQ runs on community support windows instead: 4.3.6 (released September 16, 2026) has community support until January 31, 2027, and 4.2 lost community support on July 31, 2026. Later patches for 4.2 depend on a commercial support license, and the official lifecycle sits with Broadcom's support portal, so confirm those dates before you commit. ActiveMQ 5.19.11 (September 2, 2026) and 6.2.10 (September 22, 2026) are separate release lines, so pick one, write down the upgrade path, and assign an owner to track its end of support.
Two requirements belong in the plan before any upgrade ticket is opened. First, Kafka 4.0 supports only KRaft mode and ZooKeeper mode has been removed, so ZooKeeper-based clusters must migrate to KRaft before upgrading to 4.x. Treat that migration as its own project with a change window, a rollback plan and a pilot in your own network. Second, EMQX moved to the Business Source License 1.1 with version 5.9.0, and from that version deploying a cluster of more than one node requires loading a license file. Single-node production use is permitted under the license terms, but a multi-node estate needs the license file recorded in the runbook, a named owner for it, and a legal review of the terms before go-live. Each EMQX release converts to Apache 2.0 four years after it is published, so confirm how that timing fits your procurement cycle.
What do government teams ask before choosing a message broker?
What drives the cost of a government message broker project, and who pays for what?
Software license fees are often the smallest part of the bill. Apache Kafka is Apache-2.0 licensed with no paid edition from the project itself, while RabbitMQ is MPL 2.0 licensed and needs a commercial support license for long-term support beyond its community support dates. The larger costs are people and infrastructure: staff or a partner to design, integrate, harden and document the broker, and the servers, storage or cloud capacity it runs on. Design, integration and hardening are one-time costs. Hosting, monitoring, backups, upgrades and support are recurring. Cluster size, number of producers and consumers, retention volume and the evidence your compliance team needs all push cost up. DeployOpen plans and implements from a written scope and does not publish a price list, so ask every bidder for a quote that separates one-time work from recurring support, states infrastructure assumptions, and says who pays for upgrades and retesting.
How long does a message broker implementation take in government?
Timeline depends on scope, so the reliable answer is a written scope with named deliverables and dates agreed before work starts. The main drivers are the number of environments (test, staging, production and disaster recovery), the number of producers, consumers and connectors to build, the authentication and authorization model you require, how many compliance controls need evidence, and whether the target is a cloud account, a data center or an air-gapped network. Migrating from an existing broker adds time for message replay, running both systems in parallel and cutover. Ask for a scope document that lists phases, deliverables, acceptance tests and the dependencies that sit with your team, such as network approvals, identity provider integration and change windows. Most DeployOpen engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
What does a message broker implementation need from our internal team?
The work needs a named owner, reachable engineers and time from people who know your network, identity systems and change process. Your team typically supplies an accountable platform owner who approves design decisions, network and firewall changes, identity provider and single sign-on details, and access to the cloud account, data center or air-gapped environment. It also needs the list of applications that will produce and consume messages, with their message formats and retention needs. Decisions on data classification, retention and which teams may read which topics or queues sit with your organization, not the implementer. Ask the provider to list these dependencies in the written scope with a named owner and a due point, so delays on your side are not reported as vendor slippage. Also ask how knowledge transfer and runbooks will be delivered so the people who inherit the platform can operate it.
Can our team run a self-hosted message broker without outside help?
Yes, if your team has the skills and capacity to operate it, and the answer depends on the broker and on who carries on-call duty. Operating a broker means watching consumer lag and disk, applying upgrades within supported release lines, managing certificates, testing backups and restores, and handling node failures. For Apache Kafka, check the current supported releases on the downloads page. Kafka 4.0 supports only KRaft mode, so ZooKeeper-based clusters must migrate before upgrading to 4.x. For RabbitMQ, plan around community support windows and any commercial support you need after them. Confirm which runbooks, dashboards and alerts your team will own at handover. DeployOpen offers ongoing support, upgrades and continuous testing as retainers, so ask for the split of responsibilities in writing.
Does DeployOpen certify that our message broker is compliant?
No. DeployOpen does not issue audit reports, attestations or certifications, and it does not certify compliance for any organization. DeployOpen prepares systems, controls and evidence for compliance assessments, such as configuration baselines, access control settings, audit logging and backup records, so your assessor can review them. Independent auditors and certification bodies perform the assessment and issue any report or certificate. Which framework applies and what proof it requires is set by your regulator, your contracts and the certifying body, so confirm those requirements before scoping. Ask the provider to state in the quote which evidence artifacts it will produce, who owns each control after handover, and whether retesting is included. Also ask your assessor which evidence format they accept for broker configuration and access logs.
Does EMQX count as open source under its current license?
No. EMQX is not open source under the usual definition, because since version 5.9.0 it has been offered under the Business Source License 1.1, moving away from Apache 2.0. The license allows production use of a single node, provided it is not offered to third parties on a hosted or embedded basis, and educational and non-profit users may use it without restriction for non-commercial purposes. From version 5.9.0, deploying a cluster of more than one node requires loading a license file. Each EMQX release under the Business Source License converts to Apache 2.0 four years after it is published, so older releases become open source over time, but newer ones are not yet. If you need clustering or plan to offer the platform to third parties, confirm the license terms with EMQX and your counsel before shortlisting it. Apache Kafka and RabbitMQ, by comparison, are licensed under Apache 2.0 and MPL 2.0 respectively.
How DeployOpen scopes message broker selection and rollout
DeployOpen plans, implements, integrates, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside the client's own infrastructure, including air-gapped networks. For a government or public sector broker decision, the choice between Apache Kafka, RabbitMQ, Apache ActiveMQ and other options is tested against your hosting rules, identity model and support windows, then built and handed over in writing. Most engagements are fixed-scope, with scope, deliverables and timelines agreed before work starts.
How we scope
- Written scope that names the brokers, protocols and client applications in the rollout before any build starts.
- Scope records hosting location, data classification, identity source and admin access model for the broker cluster.
- Scope notes the release and support dates the client must confirm with each vendor.
How we build
- Installation of the chosen broker in your infrastructure, with TLS, authentication and access control set to the agreed design.
- Integration with your identity provider, audit logging and monitoring, where the platform and scope support them.
- Hardening, backup and upgrade procedures documented as part of the build, so your teams can run them after handover.
How we hand over
- Runbooks covering deployment, topic or queue management, failover and restore steps for your operations team.
- Written documentation and control evidence that your compliance and security teams can review.
- A handover session for the operators who will run the broker, if included in the written scope.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- Upgrade planning for broker releases, including the support windows that apply to your chosen version.
- Security testing of the broker deployment and its client connections, delivered as a separate fixed-scope engagement.

