Skip to main content

Announcing Apache BifroMQ 4.0.1-incubating

· 3 min read

Apache BifroMQ 4.0.1-incubating is now available. This maintenance release improves MQTT protocol handling, message routing, and resource cleanup. It also lets operators add common labels to metrics and control how individual listeners handle forwarded client addresses. Java 17 remains the runtime baseline.

MQTT delivery and cluster behavior​

  • MQTT protocol handling. MQTT 5 clients receive the correct Maximum QoS value in CONNACK, and retransmitted PUBLISH packets carry the correct DUP flag. The broker now applies packet-size limits to the entire encoded packet and cleans up delivery state for oversized outbound messages.
  • Session delivery. QoS 1 retries now account for partial acknowledgements. Outbound QoS 0 messages no longer extend a client's keepalive deadline, and a session replaced by a newer connection can no longer remove the replacement's registration.
  • Routing and backpressure. The distribution service keeps routing metadata current when subscriptions change and scans for stale routes in bounded batches. The inbox service improves message fetching during concurrent session updates and retries send-buffer confirmations that were rejected under load.

What to check before upgrading​

Upgrades from 4.0.0-incubating retain data and inter-cluster RPC compatibility. Review these settings before restarting nodes. Cluster upgrade guide

  • Plugin selection. When authProviderFQN, resourceThrottlerFQN, or settingProviderFQN is omitted, BifroMQ picks the first available implementation in fully qualified class name order. If implementations are available and an explicit class name matches none of them, startup fails. Configure and verify a production AuthProvider. The bundled DemoAuthProvider allows connections without a production authentication check when its webhook is absent. Build custom plugins against the BifroMQ version you deploy. Auth provider guide
  • Metrics labels. Use metricsTags in standalone.yml to add labels such as region and deployment to metrics emitted by a process. If your dashboards or alerts rely on the global env label, set metricsTags.env to the value previously used for clusterConfig.env. Selected cluster metrics now carry clusterEnv. Configuration reference
  • Proxy and load balancer settings. Review the MQTT listener settings for PROXY protocol and forwarded client addresses on deployments behind a proxy or load balancer. These settings can be configured per listener. Release notes

Download 4.0.1-incubating​

The release includes a source archive and a convenience binary archive with Unix and Windows startup scripts. On Windows, extract the binary archive and run bin\standalone.bat start. The apache/bifromq:4.0.1-incubating Docker tag is available for both linux/amd64 and linux/arm64. Release artifacts · Verification instructions

Thank you to everyone who contributed code, reviewed changes, tested the release, or voted on it. Full release notes and acknowledgements