Elysia Tools
Navigation
Messaging
RocketMQ Message Queue Samples
Apache RocketMQ examples including producers, consumers, ordered messages, delayed messages, broadcast consumption, and transactional messages for high-throughput messaging
Samples
Entries inside this sample collection
RocketMQ Hello World - Basic Producer/Consumer
Simple Apache RocketMQ producer and consumer example demonstrating basic message queue operations
Difficulty
2/10
Estimated time
10 min
Tags
rocketmq, messaging, beginner
Prerequisites
RocketMQ server running, Node.js
RocketMQ Ordered Messages
Implement ordered message delivery using message queues with sharding keys
Difficulty
6/10
Estimated time
20 min
Tags
rocketmq, ordered, sequencing
Prerequisites
RocketMQ server running, Node.js, RocketMQ basics
RocketMQ Delayed Messages
Implement delayed and scheduled message delivery using RocketMQ's built-in delay feature
Difficulty
6/10
Estimated time
25 min
Tags
rocketmq, delayed, scheduled, timing
Prerequisites
RocketMQ server running, Node.js, RocketMQ basics
RocketMQ Transactional Messages
Implement distributed transactions using RocketMQ's transactional message feature for eventual consistency
Difficulty
9/10
Estimated time
30 min
Tags
rocketmq, transaction, distributed, acid
Prerequisites
RocketMQ server running, Node.js, Advanced RocketMQ knowledge, Understanding of distributed transactions
RocketMQ Broadcast Consumption
Implement broadcast consumption pattern where all consumers receive the same message
Difficulty
6/10
Estimated time
20 min
Tags
rocketmq, broadcast, fanout
Prerequisites
RocketMQ server running, Node.js, RocketMQ basics
Tools
Tools frequently paired with this sample
Related