Andrey,

This configuration property is there just in case you want to set your own
ID instead of creating a random one, it's not used in vast majority of use
cases.

There is also setConsistentId() property which has to survive node restarts
(by default it's a pair of hostname and port). This one is used by affinity
functions.

BTW, consistent hashing is not used anymore. We have
RendezvousAffinityFunction and FairAffinityFunction instead.

-Val



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/IgniteConfiguration-setNodeId-usage-clarification-tp818p822.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to