Routing
Self-test
Check your understanding
Self-test7 questions
—/7
Compare direct, fanout, topic, and headers exchanges in one sentence each.
Why didn't
order.refund.issued.eumatchorder.*.eu? What binding would match it?What happens to a message no binding matches? Give two ways to avoid losing it.
Why does durable pub/sub need a named queue per subscriber rather than an exclusive server-named queue?
How do
reply_toandcorrelation_idmake request/reply work? What is direct reply-to?What are the costs of RPC over a broker compared with HTTP?
- Design question
Design an exchange and routing-key scheme for an e-commerce platform where billing wants all orders, EU shipping wants EU orders, fraud wants orders over $1,000, and analytics wants everything.