apache / apache/rocketmq

Prepare to release Apache RocketMQ 5.5.1

Open
#10,680 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
22.6k
Forks
12k
Avg merge
3d 1h
Merged PRs (30d)
27

Description

### Motivation

Prepare to release Apache RocketMQ 5.5.1.

### Prerequisites / Blockers

None. The dLedger fastjson1 dependency has been removed (bumped to 0.3.3.4).

### Summary

- **Security & dependencies**: Removed fastjson 1.x from the distribution (fastjson2 upgraded to 2.0.63), bumped DLedger to 0.3.3.4, and deprecated the legacy Broker DLedger mode.
- **Native RocksDB CqCompactionFilter**: Introduced a cross-platform JNI shim, replacing the shaded rocketmq-rocksdb dependency with the official rocksdbjni.
- **Stability & correctness**: Fixed 30+ bugs including pop consumer CK record loss, TLS certificate hot-reload native memory leak, tiered storage concurrency issues, ServiceThread data race, master election comparator overflow, and CombineConsumeQueue long-polling notification miss.
- **Lite messaging evolution**: Server-side Lite Simple Consumer support, exclusive subscription eviction via tombstones, lite topic reset offset fix, and removal of the legacy enableLiteEventMode switch.
- **Performance**: Reduced per-message and per-RPC allocations (MessageId, Remoting header encoding, metrics AttributeKey, CommitLog scratch buffer), added madvise(MADV_RANDOM) for offset binary search, and introduced dispatch memory backpressure.

### 变更摘要

- **安全与依赖**:发行物中移除 fastjson 1.x(fastjson2 升级至 2.0.63),DLedger 升级至 0.3.3.4,废弃 legacy Broker DLedger 模式。
- **原生 RocksDB CqCompactionFilter**:引入跨平台 JNI shim,以官方 rocksdbjni 替换 shaded rocketmq-rocksdb 依赖。
- **稳定性与正确性**:修复 30+ 个 Bug,包括 Pop 消费 CK 记录丢失、TLS 证书热加载 native 内存泄漏、分级存储并发问题、ServiceThread 数据竞争、Master 选举比较器溢出、CombineConsumeQueue 长轮询通知丢失等。
- **Lite 消息演进**:服务端支持 Lite Simple Consumer、基于墓碑机制的独占订阅驱逐、Lite Topic 重置 offset 修复、移除遗留 enableLiteEventMode 开关。
- **性能优化**:减少单消息和单 RPC 内存分配(MessageId、Remoting 头编码、Metrics AttributeKey、CommitLog 线程缓冲),offset 二分查找引入 madvise(MADV_RANDOM),新增 dispatch 内存反压。

### Release Status

- Release PR: #10961 (merged)
- Tag: `rocketmq-all-5.5.1` (`efa1be59d6fc747ad220f036c86030f05f0419f9`)
- RC1 artifacts: [5.5.1-rc1](https://dist.apache.org/repos/dist/dev/rocketmq/5.5.1-rc1/)
- Staging repo: [orgapacherocketmq-1377](https://repository.apache.org/content/repositories/orgapacherocketmq-1377/)
- Release Notes PR: https://github.com/apache/rocketmq-site/pull/793

Full changelog:
[rocketmq-all-5.5.0...rocketmq-all-5.5.1](https://github.com/apache/rocketmq/compare/rocketmq-all-5.5.0...rocketmq-all-5.5.1)

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the merged release PR #10961, tag rocketmq-all-5.5.1, RC1 artifacts, and staging repository orgapacherocketmq-1377. The release preparation is complete when the release artifacts, tag, and release notes are verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
release
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.