We have stopped using SRV records. Our projects use twingly/twingly-amqp to read AMQP servers from the environment instead.
Configuration help for some of our services:
- AMQP (RabbitMQ)
Twingly::Configuration::AMQP
Add this line to your application's Gemfile:
gem "twingly-configuration", github: "twingly/twingly-configuration"
And then execute:
$ bundle
require "twingly/configuration/amqp"
Twingly::Configuration::AMQP.servers
# => [...]