---
answer: direct
beat: system-design
source: 1 article · updated: November 13, 2026
---

What is the difference between a direct and a topic exchange?

A direct exchange routes a message to queues whose binding key exactly equals the message's routing key. A topic exchange routes by pattern: a star matches exactly one word and a hash matches zero or more words, with words separated by dots. Topic is direct with wildcards.

Answered in

RabbitMQ Routing: Direct, Topic, Fanout, and Why Producers Never Touch Queues

In RabbitMQ a producer publishes to an exchange, not a queue. Bindings and exchange type decide where each message lands. Here is how the routing really works.

Crashtech Editorial November 13, 2026 System Design & Architecture

Read the full analysis

Other questions this article answers

More system design & architecture questions

Every answer on Crashtech is written by the editor of the article it comes from — never auto-summarised. Browse all answers or the System Design & Architecture beat.