Arthi, You can implement AffinityKeyMapper and put any custom logic there. In your case the 'affinityKey' method should return a compound of the two fields. The mapper should be configured via CacheConfiguration.setAffinityMapper property.
Let us know if it works for you. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Affinity-Collocation-Using-CacheKeyConfiguration-Multiple-fields-tp3812p3842.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.
