Sumanta, This can be specified via CacheKeyConfiguration:
<bean class="org.apache.ignite.configuration.CacheConfiguration"> <property name="keyConfiguration"> <bean class="org.apache.ignite.cache.CacheKeyConfiguration"> <property name="typeName" value="my.package.MyType"/> <property name="affinityKeyFieldName" value="myField"/> </bean> </property> </bean> -Val -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/