- Newest
- Most votes
- Most comments
Thanks for your questions.
Q: With a network of brokers, can a client use one URL to connect to the network of brokers, or would the client need to potentially try separate URLs for each broker in the network?
A: The client can either use a connection string with multiple endpoints, or if updateClusterClients is set to true, clients can be configured to connect to a single broker in a network of brokers. See https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/network-of-brokers.html for more details.
Q: Amazon has started making noise about instituting a limit on the number of connections a given broker can have open at a given time - does that limit go up if that broker is part of a network?
A: I believe you are referring to the 100 connection limit on t2.micro brokers. The limit is per broker per protocol, so if you have 2 brokers in a network, you have a total of 200 connections per protocol.
Q: if using a network of single-instance brokers, would an automatic failover work the same way as it does for active-standby pairs?
A: Not exactly. The client will reconnect to another active node in the network, so it is more of an active-active model. In the background Amazon MQ will replace the failed node but this may take several minutes, as opposed to active-standby where the node is replaced within ~10-90 sec.
Hope this helps.
Relevant content
- asked 4 years ago
- asked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 years ago