项目开源主页:https://github.com/alibaba/RocketMQ
I
目录
1 前言 .................................................................................................................................................................................... 1
2 产品収展历叱 .................................................................................................................................................................... 1
3 与业术诧 ........................................................................................................................................................................... 2
4 消息中间件需要解决哪些问题? ................................................................................................................................... 4
4.1 Publish/Subscribe ............................................................................................................................................. 4
4.2 Message Priority ............................................................................................................................................... 4
4.3 Message Order ................................................................................................................................................. 5
4.4 Message Filter ................................................................................................................................................... 5
4.5 Message Persistence ........................................................................................................................................ 5
4.6 Message Reliablity ............................................................................................................................................ 6
4.7 Low Latency Messaging ................................................................................................................................... 6
4.8 At least Once ..................................................................................................................................................... 7
4.9 Exactly Only Once ............................................................................................................................................. 7
4.10 Broker 的 Buffer 满了怎举办? ...................................................................................................................... 7
4.11 回溯消费 ........................................................................................................................................................... 8
4.12 消息堆积 ........................................................................................................................................................... 8
4.13 分布式事务 ....................................................................................................................................................... 9
4.14 定时消息 ........................................................................................................................................................... 9
4.15 消息重试 ........................................................................................................................................................... 9
5 RocketMQ Overview ..................................................................................................................................................... 10
5.1 RocketMQ 是什举? ....................................................................................................................................... 10
5.2 RocketMQ 物理部署结构 ............................................................................................................................... 11
5.3 RocketMQ 逡辑部署结构 ............................................................................................................................... 12
6 RocketMQ 存储特点 ....................................................................................................................................................... 13
6.1 零拷贝原理 ...................................................................................................................................................... 13
6.2 文件系统 .......................................................................................................................................................... 14
6.3 数据存储结构 .................................................................................................................................................. 14