Hi,
cache1.put(new AffinityKey<>(*pk0*, eqID), value2); cache2.put(new AffinityKey<>(*pk1*, eqID), value2); If we are using 2 different primary key for eqId then data of cache1 and cache2 will collocated on the basis of *eqID* Thanks & regards Tejas On Thu, Dec 29, 2016 at 10:25 AM, Tejashwa Kumar Verma < [email protected]> wrote: > Hi, > > I think this affinity part is working fine, but now i am seeing data > discrepancy. Do we need to enable 'distributed join' also? > > > > Thanks & regards > Tejas > > On Wed, Dec 28, 2016 at 5:24 PM, dkarachentsev <[email protected] > > wrote: > >> Duplicates [1] >> >> [1] http://apache-ignite-users.70518.x6.nabble.com/Affinity-Key- >> td9772.html >> >> >> >> -- >> View this message in context: http://apache-ignite-users.705 >> 18.x6.nabble.com/Re-Afinity-Key-tp9774p9778.html >> Sent from the Apache Ignite Users mailing list archive at Nabble.com. >> > >
