Connecting multiple rabbitmq host from Nameko


From @singhmanish09 on Tue Dec 19 2017 04:57:52 GMT+0000 (UTC)

What is the mechanism through which nameko can connect to multiple rabbitmq host configured in mirrored mode so that HA can be achieved using it.

Copied from original issue:


From @mattbennett on Wed Dec 20 2017 12:48:47 GMT+0000 (UTC)

Most people put a load-balancer in front of the RabbitMQ nodes. Another approach is to pass a semicolon delimited string with the addresses of each node as the AMQP_URI, e.g.

AMQP_URI: pyamqp://guest:guest@rabbitmq1:5672/;pyamqp://guest:guest@rabbitmq2:5672/

This passes through to Kombu, which will round-robin between URIs when it can’t connect.

HA strategies in general have been covered on the mailing list:!searchin/nameko-dev/HA|sort:date/nameko-dev/DpR8LeNUod0/uOethL81AgAJ