Tagged articles
2 articles
Page 1 of 1
Java Interview Crash Guide
Java Interview Crash Guide
Aug 24, 2021 · Backend Development

How to Ensure Zero Message Loss in RocketMQ: Scenarios and Solutions

This article examines the common situations where messages can be lost in RocketMQ—such as network glitches during production, asynchronous disk flushing, and premature consumer acknowledgments—and presents practical strategies like transactional messaging, synchronous flushing, broker replication, and proper consumer listener handling to achieve zero loss.

Message LossTransactional MessagingZero Loss
0 likes · 8 min read
How to Ensure Zero Message Loss in RocketMQ: Scenarios and Solutions
Architecture Digest
Architecture Digest
Sep 17, 2020 · Backend Development

Preventing Message Loss in RocketMQ: Scenarios and Solutions

This article explains the three common scenarios where messages can be lost in RocketMQ, analyzes their root causes, and presents concrete solutions—including transactional messaging, synchronous disk flushing with replication, and proper consumer acknowledgment—to achieve zero‑message loss while noting the performance trade‑offs.

Consumer FailoverMessage QueueRocketMQ
0 likes · 7 min read
Preventing Message Loss in RocketMQ: Scenarios and Solutions