Posted On: Jul 7, 2021

You can now use the consistent hash exchange type on your Amazon MQ for RabbitMQ brokers. This exchange type uses consistent hashing to uniformly distribute messages across queues. Consistent hash exchanges are useful in applications like transaction processing to maintain the order of dependent messages while scaling up the number of consumers.

Amazon MQ is a managed message broker service for Apache ActiveMQ and RabbitMQ that makes it easy to set up and operate message brokers on Amazon Web Services. Amazon MQ reduces your operational responsibilities by managing the provisioning, setup, and maintenance of message brokers for you. Because Amazon MQ connects to your current applications with industry-standard APIs and protocols, you can easily migrate to Amazon Web Services without having to rewrite code.

The consistent hash exchange type is available on all new Amazon MQ for RabbitMQ brokers. It will be enabled on existing brokers in an upcoming maintenance window. For more details review the consistent hash exchange plugin documentation.