Questions about networks of brokers

0

I'm trying to figure out if using a network of brokers will solve some of the problems I'm having with single-instance and active-standby brokers.
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?
  • 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?
  • if using a network of single-instance brokers, would an automatic failover work the same way as it does for active-standby pairs?
asked 5 years ago251 views
2 Answers
0

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.

AWS
answered 5 years ago
0

Thanks Trevor, you rock. Very helpful answers.

answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions