Skip to content

RocketMQ Rust 1.1.0

Latest

Choose a tag to compare

@mxsm mxsm released this 30 Nov 04:37
· 10 commits to main since this release
1e9fbf3

RocketMQ Rust 1.1.0 requires Rust 1.95.0 or newer. This release includes source-breaking changes to stable 1.0.0 APIs. Cargo requirements such as ^1.0 can select 1.1.0 on a dependency update. Rebuild downstream applications with their production feature sets before deploying.

What changed

  • Broker and Store. The Broker removes a write-admission rate cap that caused failures under sustained replicated writes. Store improvements cover idle CommitLog appends and memory-mapped reads. Replicas acknowledge replicated progress and reconcile divergent logs on rejoin. In Controller mode, a Broker that starts without a reachable Controller stays isolated and retries registration.
  • Delayed messages. The default timer engine uses Java-compatible timer files. The optional native engine supports delays of up to 400 days by default, with a configurable horizon and support for recall. Existing Extended Timeline stores need an offline migration to switch engines.
  • Proxy and Client. The gRPC Proxy can forward concurrent sends to a cluster. The Rust client sends with SendMessageV2 by default. Concurrent Push listeners receive the original topic for v2 POP retries. Fixes also cover static-topic pull offsets, multi-message POP replies and SQL92 filtering.
  • Operations. The Web Dashboard exposes Controller and replica topology. SRE investigation runs retain completed steps and event cursors across a Control Plane restart, and the UI shows the requested changes during approval review. The release workflow selects 28 crates and builds 13 Linux AMD64 images for the four core services, MCP, Web Dashboard and SRE. See the publication runbook.

Before registry publication, the v1.1.0 tag moved from 9d1285fd5 to 1e9fbf3aa to include the patched Brotli library in both frontend runtime images. If you fetched the earlier tag, the tagged release source identifies the published revision.

Upgrade from 1.0.0

If you use Change before deploying 1.1.0
Runtime APIs Rename MetadataIoCommitOutcome to MetadataWritePersistenceStatus, ScheduledTaskRegistrationOutcome to ScheduledTaskRegistrationStatus, and OperationWaitOutcome to OperationDrainStatus. Update matches on CommitOutcomeUnknown to DurabilityUnconfirmed and receipt calls from wait_until_outcome to wait_for_persistence_status_until.
Messages and transactional producers Replace removed legacy Message constructors with Message::builder(). Implement TransactionListener for transaction execution and Broker checks in place of the removed TransactionCheckListener.
Controller configuration and Helm Replace storageBackend with storageEngineType in standalone and embedded startup configuration, live updates, blacklist entries and services.controller overrides. The old key is rejected. This rename preserves the persisted data format.
Tiered Store Rename tieredStoreConfig.backendProvider to tieredStoreConfig.storageProviderId. The old key is ignored. A deployment using a non-default provider falls back to posix if it omits the new key.
Maintenance clients Read the optional Store discriminator in MaintenanceGetCapabilities from store.storeKind. The response still uses schemaVersion = 1. Readers spanning both releases or loading saved responses need to accept both spellings. Checkpoint manifests still use backend.
Telemetry, alerts and dashboards Import DashboardStorageEngine in place of DashboardStorageBackend. Five Dashboard storage metrics now use the label storage_engine and the Rust constant semantic::labels::STORAGE_ENGINE. Account for both label names when querying across the upgrade. Match the storage error code storage.unavailable in place of storage.backend.unavailable.

Before a replicated deployment, test failover and rejoin on an isolated copy with your Controller configuration. Version 1.1.0 uses OpenRaft 0.10.1. A new Controller receiving only the legacy leadership-transfer flag treats it as an ordinary election. Preserve the prior binaries, configuration and a consistent backup. If you restore the backup, reconcile acknowledged writes after its recovery point. See the upgrade and rollback guide.

If switching an Extended Timeline store to the native engine, stop the Broker, back up the store and run this preview with the target Broker configuration.

rocketmq-cli-rust migrate-extended-timers --config broker.toml --dry-run

Check the reported timer counts before applying the migration. Repeat the migration for each Extended Timeline store in the replica group. Timers already being delivered may be delivered again. Keep the migration backup until the native engine has delivered the migrated timers. The timer migration guide gives the required configuration and restart steps. The changelog lists further API and behavior changes.

Performance

On November 28, 2026, Rust commit 8bed52240 matched or exceeded Apache RocketMQ Java 5.5.0 throughput in 23 of 26 workloads on self-funded Alibaba Cloud servers. All 26 completed with zero reported failures in the final retest. With 32 connections and four requests in flight per connection, the Rust gRPC Proxy reached 2.20× the Java Proxy throughput against the same Rust Broker. The single-replica Java-producer test at 256 threads reached 0.92×, and the two asynchronous three-replica tests reached 0.93× and 0.94×. The reports include machine specifications, configuration, latency and measurement limits. English report · 中文报告

New Contributors

Other contributors to this release include @abhinyaay, @dependabot[bot], @niukanen1, @shubhambhar007, @TheNetherWatcher, @wanjinhao1 and @WaterWhisperer.

Full change history