Prasad, In this case using subscriptionId in query would be a syntax error, because the name of the field is affinityId. If you use affinityId, however, Ignite will route the query to a single node. It knows that it's affinity key based on @AffinityKeyMapped annotation.
-Val -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/
