Direct exchanges may be too simple to fit your needs. In this video, learn how topic exchanges can be leveraged to filter messages in a more fine-grained way.
- [Instructor] The topic exchange allows for … fine-grained filtering of messages based on the routing key … that is sent along with the message. … We currently have a web application … that sends out two types of messages. … One with the routing key tour.booked, … and another with tour.cancelled. … With a direct exchange, … we were able to filter out the tour.cancelled messages. … Our email service will only receive messages … where the routing key matches tour.booked exactly. … What if we have another service, … that needs to receive both messages? … Let's say there is a back office application … where both bookings and cancellations need to arrive. … With direct exchanges, we would need to add two bindings, … one for tour.booked and another for tour.cancelled. … A better approach is to use the topic exchange. … With topic exchanges, the email service can still bind … using the routing key tour.booked, … and will only receive those messages. … But the back office application … can now use just one binding, …
- How message-based systems are used
- The AMQP protocol
- Exchange type use cases
- Publishing to RabbitMQ
- Consuming from RabbitMQ
- Filtering messages with direct and topic exchanges
- Setting up and using authentication
- Authorizing and blocking application actions
- Tracking message contents for troubleshooting
Skill Level Beginner
DevOps Foundations: Microserviceswith Laura Stone2h 12m Advanced
What's new in this update1m 18s
1. Get to Know RabbitMQ
2. Basic Usage
3. Advanced Usage
Go further with RabbitMQ2m 35s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.