-
Notifications
You must be signed in to change notification settings - Fork 0
MQ Guide en
cuihairu edited this page Oct 20, 2025
·
1 revision
This page gives a quick usage guide for producers, consumers, and DLQ.
Message m = Message.builder().topic("order_events")
.data(Map.of("orderId", 123L, "status", "created"))
.build();
producer.sendAsync(m);consumer.subscribe("order_events", "payment_group", msg -> {
try { handle(msg); return true; } catch (Exception e) { return false; }
});
consumer.start();- Failed beyond max attempts → written to DLQ:
stream:topic:{topic}:dlq - Replay via Admin/Service, back to original partition
- List topics, size, replayAll, delete, clear(see Admin interface in MQ/Starter)
- design: MQ-Design-en.md
- broker interaction: docs/redis-mq-broker-interaction.md
- partitioning: docs/redis-mq-partitioning.md