2 Replies Latest reply on Feb 5, 2016 2:38 AM by Udit Mishra

    How to connect to a particular server group from hotrod client?

    Udit Mishra Novice

      Lets say, we have two server groups - "GroupA"  with two nodes "NodeA1" and "NodeA2" and "GroupB" with "NodeB1" and "NodeB2". How to communicate with different groups from hotrod client? I assume that giving any node name/IP from that cluster will be sufficient.

       

      One more thing I would like to know that if we design clusters at server side, by logical grouping under the <server-group>, then why does hotrod client ConfigurationBuilder has got methods like addCluster(), addServers() etc?? When I call addCluster() with an existing <server-group> name, what exactly happens?? What if I give some name which does not exist as a <server-group>??