LibraryToggle FramesPrintFeedback

When using shared nothing master/slave there are two approaches to configuring the slave:

Assuming that you choose the mode of operation where the slave takes over from the master, your clients will need to include logic for failing over to the new master. Adding the fail over logic requires that the clients use the masterslave protocol. This protocol is an instance of the failover protocol described in Failover Protocol that is specifically tailored for shared noting master/slave pairs.

If you had a two broker cluster where the master is configured to accept client connections on tcp://masterhost:61616 and the slave is configured accept client connections on tcp://slavehost:61616, you would use the masterslave URI shown in Example 3.4 for your clients.


Comments powered by Disqus