RabbitMQ- Tutorial 16a - Ex-Ex Routing, Headers Exchange and Consistent Hashing Exchange in Python
00:00 - 00:33 - Introduction
00:34 - 05:24 - Exchange to Exchange Routing
05:25 - 10:49 - Headers Exchange
10:50 - 17:32 - Consistent Hashing Exchange
In this video we will look at using different techniques in RabbitMQ to achieve more advanced scenarios. We will implement these in Python using Visual Studio Code and the pika client library.
We will look at the flexibility of exchange to exchange routing and how this works in RabbitMQ.
We will then look at the use of the headers exchange and how we can use that to dynamically route our messages using the headers that we set on them.
Finally we will look at the consistent hashing exchange which is a plugin for RabbitMQ and allows us to partition or messages based on a hash.
---------------------------------------------------------------------------------------------------------------------------
GitHub Code Sample:
https://github.com/delaneybrian/jumpstartCS-rabbitmq-python/tree/master/7-Other-Exchanges
---------------------------------------------------------------------------------------------------------------------------
RabbitMQ is the most widely deployed open source message broker. A message broker is an intermediary computer program module that translates a message from the formal messaging protocol of the sender to the formal messaging protocol of the receiver.
Using RabbitMQ allows us to create a highly decoupled micro services system easily. It can be deployed on many clouds as well as on premise. It comes with many interesting features and is even extendable by the use of plugins.
---------------------------------------------------------------------------------------------------------------------------
Check out our Azure Service Fabric Tutorial for developing highly reliable distributed applications:
https://www.youtube.com/playlist?list=PLalrWAGybpB_dBdtvLXUjOFp78X97lren
Check out our Cassandra Tutorial for a distributed and highly available solution for your applications:
https://www.youtube.com/playlist?list=PLalrWAGybpB-L1PGA-NfFu2uiWHEsdscD