Hi Aiden, You need to set an AffinityKeyMapper for your cache. Read javadoc for details:
https://github.com/apache/ignite/blob/master/modules/core/src/main/java/org/apache/ignite/cache/affinity/AffinityKeyMapper.java Thanks, Mikhail. 2017-07-06 15:08 GMT+03:00 Aiden <1994hsekar1...@gmail.com>: > So i'm really new to apache ignite here. What i'm trying to do is load data > having similar properties to a single rather than it being loaded to random > instances. For example, say that some data of this form: > > ROLL_NO > 34569 > 12349 > 34439 > 45329 > 32359 > 43549 > 53259 > 34229 > > As u can see, the above data is all ending with 9. Say that i have two > ignite instances A and B currently running. **Is there any way i can load > these data ending with 9 to either of the instance A or B and NOT BOTH.** > > Please let me know if this is possible and if so how to accomplish this. > Thanks in advance. > > > > -- > View this message in context: http://apache-ignite-users. > 70518.x6.nabble.com/Loading-similar-data-to-specific-instance-and-not-all- > instances-tp14387.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. >