[Other] How to specify multi rabbit hosts in one amqp URI ? #12741
-
Community Support Policy
RabbitMQ version used3.13.7 or older How is RabbitMQ deployed?Generic binary package Steps to reproduce the behavior in questionHi, I want to specify multi hosts in one rabbitmq ampq URI, which is used as broker in apache airflow. But I find that it seems only one host is allowed in the URI, see docs: https://www.rabbitmq.com/docs/uri-spec , so how can I get high availability when the host is down? Thanks for helping. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@trikker this is not really an appropriate place for Apache Airflow questions. There is only one host in a URI, including AMQP 0-9-1 URIs. Depending on the tool or library used, you may be able specify multiple URIs or endpoints (as hosts, Airflow may or may not provide a way to specify multiple URIs but this is not something Team RabbitMQ can help you with. |
Beta Was this translation helpful? Give feedback.
@trikker this is not really an appropriate place for Apache Airflow questions. There is only one host in a URI, including AMQP 0-9-1 URIs.
Depending on the tool or library used, you may be able specify multiple URIs or endpoints (as hosts,
host:port
pairs or something like that). This is true for multiple AMQP 0-9-1 client libraries, RabbitMQ stream client libraries, shovels, and so on.Airflow may or may not provide a way to specify multiple URIs but this is not something Team RabbitMQ can help you with.